Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sbin/fsck_ext2fs Pull up revision 1.5 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/943ba6b42e06
branches:  netbsd-1-4
changeset: 470988:943ba6b42e06
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 10 22:24:49 2000 +0000

description:
Pull up revision 1.5 (requested by is):
  Format string cleanup.

diffstat:

 sbin/fsck_ext2fs/utilities.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c92785ffb163 -r 943ba6b42e06 sbin/fsck_ext2fs/utilities.c
--- a/sbin/fsck_ext2fs/utilities.c      Tue Oct 10 22:24:46 2000 +0000
+++ b/sbin/fsck_ext2fs/utilities.c      Tue Oct 10 22:24:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utilities.c,v 1.4 1998/03/30 02:07:59 mrg Exp $        */
+/*     $NetBSD: utilities.c,v 1.4.2.1 2000/10/10 22:24:49 he Exp $     */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)utilities.c        8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: utilities.c,v 1.4 1998/03/30 02:07:59 mrg Exp $");
+__RCSID("$NetBSD: utilities.c,v 1.4.2.1 2000/10/10 22:24:49 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -510,7 +510,7 @@
                if (idesc->id_type == DATA)
                        direrror(idesc->id_number, msg);
                else
-                       pwarn(msg);
+                       pwarn("%s", msg);
                if (preen) {
                        printf(" (SALVAGED)\n");
                        idesc->id_fix = FIX;



Home | Main Index | Thread Index | Old Index