Skip to contentSkip to conversation

LVM2/tools lvmcmdline.c

PATCH [email protected] 1 participant 1 message Sep 21, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: meyering at sourceware.org 2007-09-21 18:43:55

Modified files:
tools : lvmcmdline.c

Log message:
Don't emit a trailing newline to stderr.

* tools/lvmcmdline.c (_short_usage): Remove trailing "\n". Spotted by Alasdair G. Kergon.

Author: Jim Meyering <[email protected]>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.51&r2=1.52

tools/lvmcmdline.c +1 -1
@@ -468,7 +468,7 @@
 
 static void _short_usage(const char *name)
 {
-	log_error("Run `%s --help' for more information.\n", name);
+	log_error("Run `%s --help' for more information.", name);
 }
 
 static void _usage(const char *name)