From 1911ef72dbfea16f0eef08b17eedbc37744ef0f9 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 27 Aug 2014 18:02:17 +0200 Subject: 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 --- src/udev/udevadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/udev/udevadm.c') 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(); -- cgit v1.2.3-54-g00ecf