chiark / gitweb /
tree-wide usage of %m specifier instead of strerror(errno)
[elogind.git] / src / core / manager.c
index aa4baaacc8bdb01611b93ce93b10dc28bc40d149..65cb73cc9f9eaac0158811ba3496b44bbbac2cee 100644 (file)
@@ -307,7 +307,7 @@ static int enable_special_signals(Manager *m) {
         } else {
                 /* Enable that we get SIGWINCH on kbrequest */
                 if (ioctl(fd, KDSIGACCEPT, SIGWINCH) < 0)
-                        log_warning("Failed to enable kbrequest handling: %s", strerror(errno));
+                        log_warning("Failed to enable kbrequest handling: %m");
         }
 
         return 0;