diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-27 18:02:17 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-08-27 21:45:11 -0400 |
commit | 1911ef72dbfea16f0eef08b17eedbc37744ef0f9 (patch) | |
tree | 9339d68d605cf9e29b8450b87a71ca0ac309c720 | |
parent | 7a2f160498e5657440baec0faa1508b029f09b51 (diff) |
udev: add missing new-line in udevadm error
fprintf() does not add new-lines automatically like log_*() does. Add the
missing \n specified so "udevadm" invoked without arguments adds a newline
to:
udevadm: missing or unknown command
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/udev/udevadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c index c808c6c7b8..aaf94262a8 100644 --- a/src/udev/udevadm.c +++ b/src/udev/udevadm.c @@ -133,7 +133,7 @@ int main(int argc, char *argv[]) { goto out; } - fprintf(stderr, "%s: missing or unknown command", program_invocation_short_name); + fprintf(stderr, "%s: missing or unknown command\n", program_invocation_short_name); rc = 2; out: label_finish(); |