chiark / gitweb /
util: add a bit of syntactic sugar for saving/restoring errno
[elogind.git] / src / journal / journalctl.c
index c96d68dd4cbf1feeca0fbfcd15b152d3ac10d5aa..8661e5e33af1b7aabe7e579d20baaa6d68c64726 100644 (file)
@@ -562,7 +562,7 @@ static int add_matches(sd_journal *j, char **args) {
                         else if (S_ISBLK(st.st_mode))
                                 asprintf(&t, "_KERNEL_DEVICE=b%u:%u", major(st.st_rdev), minor(st.st_rdev));
                         else {
-                                log_error("File is not a device node, regular file or is not executable: %s", *i);
+                                log_error("File is neither a device node, nor regular file, nor executable: %s", *i);
                                 return -EINVAL;
                         }