summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-24 20:16:00 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 19:01:57 -0400
commitfb93cf737549f2d5fce6cb76b1d5e8382c7537b8 (patch)
tree20816c7926261673a0eef6ab201ddfa03d69699c
parent7f2c1f4dbfe00eeef072c65f81a43b3b7fb83365 (diff)
journalctl: reword error message
Sentence seemed to suggest that all three conditions must be true.
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index c96d68dd4c..8661e5e33a 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -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;
}