chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6024079
)
udev: add missing new-line in udevadm error
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 27 Aug 2014 16:02:17 +0000
(18:02 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Wed, 27 Aug 2014 16:42:28 +0000
(18:42 +0200)
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
src/udev/udevadm.c
patch
|
blob
|
history
diff --git
a/src/udev/udevadm.c
b/src/udev/udevadm.c
index 2c11550467b9eac67aa33c719b6fcec2db4fa863..df546dd8239b3657b5c03d2c7e489045ebe973ec 100644
(file)
--- a/
src/udev/udevadm.c
+++ b/
src/udev/udevadm.c
@@
-134,7
+134,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();