Module Name:    src
Committed By:   skrll
Date:           Thu Nov 14 13:02:57 UTC 2013

Modified Files:
        src/sys/arch/hp700/stand/xxboot: iplsum.c

Log Message:
Improve error message


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hp700/stand/xxboot/iplsum.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/stand/xxboot/iplsum.c
diff -u src/sys/arch/hp700/stand/xxboot/iplsum.c:1.6 src/sys/arch/hp700/stand/xxboot/iplsum.c:1.7
--- src/sys/arch/hp700/stand/xxboot/iplsum.c:1.6	Fri Feb 24 18:45:20 2012
+++ src/sys/arch/hp700/stand/xxboot/iplsum.c	Thu Nov 14 13:02:57 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: iplsum.c,v 1.6 2012/02/24 18:45:20 skrll Exp $	*/
+/*	$NetBSD: iplsum.c,v 1.7 2013/11/14 13:02:57 skrll Exp $	*/
 
 /*
  * Calculate 32bit checksum of IPL and store in a certain location
@@ -57,7 +57,7 @@ main(int argc, char *argv[])
 		fprintf(stderr, "%s: too short\n", argv[1]);
 		return 1;
 	} else if (len > BOOTSIZE) {
-		fprintf(stderr, "%s: too long\n", argv[1]);
+		fprintf(stderr, "%s: too long (%d vs %d)\n", argv[1], len, BOOTSIZE);
 		return 1;
 	}
 	(void) fclose(fp);

Reply via email to