Subject: port-hpcmips/28652: Little pbsdboot fix
To: None <port-hpcmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <grange@rt.mipt.ru>
List: netbsd-bugs
Date: 12/14/2004 08:49:00
>Number:         28652
>Category:       port-hpcmips
>Synopsis:       Little pbsdboot fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 14 08:49:00 +0000 2004
>Originator:     Alexander Yurchenko
>Release:        -current
>Organization:
>Environment:
>Description:
There's missing %s in stat_printf.
>How-To-Repeat:
Code inspection.
>Fix:
Index: pbsdboot.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/stand/pbsdboot/pbsdboot.c,v
retrieving revision 1.4
diff -u -r1.4 pbsdboot.c
--- pbsdboot.c	4 Jun 2000 04:30:49 -0000	1.4
+++ pbsdboot.c	14 Dec 2004 08:46:45 -0000
@@ -57,7 +57,7 @@
 
 	stat_printf(TEXT("read information from %s..."), wkernel_name);
 	if (CheckCancel(0) || getinfo(fd, &start, &end) < 0) {
-		stat_printf(TEXT("read information failed"), wkernel_name);
+		stat_printf(TEXT("read information from %s...failed"), wkernel_name);
 		goto cancel;
 	}