[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/tools lvmcmdline.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	meyering 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 <jim meyering net>

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

--- LVM2/tools/lvmcmdline.c	2007/09/21 18:06:56	1.51
+++ LVM2/tools/lvmcmdline.c	2007/09/21 18:43:55	1.52
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]