Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/newdisk Add a missing printf argument..



details:   https://anonhg.NetBSD.org/src/rev/059aecbc8b80
branches:  trunk
changeset: 764619:059aecbc8b80
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Apr 29 06:00:33 2011 +0000

description:
Add a missing printf argument..

diffstat:

 sys/arch/x68k/stand/newdisk/newdisk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3aab97386b0a -r 059aecbc8b80 sys/arch/x68k/stand/newdisk/newdisk.c
--- a/sys/arch/x68k/stand/newdisk/newdisk.c     Fri Apr 29 05:59:53 2011 +0000
+++ b/sys/arch/x68k/stand/newdisk/newdisk.c     Fri Apr 29 06:00:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newdisk.c,v 1.7 2011/04/29 05:59:53 isaki Exp $        */
+/*     $NetBSD: newdisk.c,v 1.8 2011/04/29 06:00:33 isaki Exp $        */
 
 /*-
  * Copyright (c) 1999 Minoura Makoto
@@ -116,7 +116,7 @@
                err(1, "reading %s", dev);
        if (strncmp(buf, "X68SCSI1", 8) == 0 && !force)
                errx(1, "%s is already marked.  "
-                       "Use -f to overwrite the existing mark.");
+                       "Use -f to overwrite the existing mark.", dev);
        if (check_only)
                return 0;
 



Home | Main Index | Thread Index | Old Index