]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pid1: improve syntax in error message 7486/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Nov 2017 22:05:19 +0000 (22:05 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Nov 2017 08:26:14 +0000 (09:26 +0100)
src/core/load-fragment.c

index 42dcaea4e15bae8c0e22ca77812ad1d5a52fcbe6..ac58ce8a14b261e6218a43b54a643022b0d5a235 100644 (file)
@@ -2904,7 +2904,7 @@ static int syscall_filter_parse_one(
                 set = syscall_filter_set_find(t);
                 if (!set) {
                         if (warn)
-                                log_syntax(unit, LOG_WARNING, filename, line, 0, "Don't know system call group, ignoring: %s", t);
+                                log_syntax(unit, LOG_WARNING, filename, line, 0, "Unknown system call group, ignoring: %s", t);
                         return 0;
                 }
 
@@ -2924,7 +2924,7 @@ static int syscall_filter_parse_one(
                 }
 
                 /* If we previously wanted to forbid a syscall and now
-                 * we want to allow it, then remove it from the list
+                 * we want to allow it, then remove it from the list.
                  */
                 if (!invert == c->syscall_whitelist) {
                         r = hashmap_put(c->syscall_filter, INT_TO_PTR(id + 1), INT_TO_PTR(errno_num));