[readonly/geninitrd: 523/1068] Don't duplicate program name prefix.

draenog draenog at pld-linux.org
Sat Nov 2 19:56:22 CET 2013


commit 19afb117a0d510a81dc8df4c2e261a15dc8c0132
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Nov 7 13:08:47 2007 +0000

    Don't duplicate program name prefix.
    
    svn-id: @9011

 geninitrd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index ad1cbf1..2f1d89f 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1893,7 +1893,7 @@ case "$INITRDFS" in
 		IMAGESIZE=$(du -ks $DESTDIR | awk '{print int(($1+1023+512)/1024)*1024}')
 		debug 	"ext2 image size: $IMAGESIZE ($DESTDIR)"
 		if [ "$IMAGESIZE" -gt 4096 ]; then
-			warn "$PROGRAM: Your image size is larger than 4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
+			warn "Your image size is larger than 4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
 		fi
 
 		debug "Creating ext2 image $IMAGE"
@@ -1919,7 +1919,7 @@ case "$INITRDFS" in
 		IMAGESIZE=$(stat -c %s $IMAGE | awk '{print int((($1/1024)+1023)/1024)*1024}')
 		debug "Image size for romfs: ${IMAGESIZE}KiB ($IMAGE)"
 		if [ "$IMAGESIZE" -gt 4096 ]; then
-			warn "$PROGRAM: Your image size is larger than 4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
+			warn "Your image size is larger than 4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
 		fi
 		;;
 	cram|cramfs)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list