Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/64a5c303b77d
branches:  netbsd-1-4
changeset: 470995:64a5c303b77d
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 10 22:25:11 2000 +0000

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

diffstat:

 sbin/restore/extern.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b7dccef5b32f -r 64a5c303b77d sbin/restore/extern.h
--- a/sbin/restore/extern.h     Tue Oct 10 22:25:08 2000 +0000
+++ b/sbin/restore/extern.h     Tue Oct 10 22:25:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.6 1997/09/15 08:04:30 lukem Exp $ */
+/*     $NetBSD: extern.h,v 1.6.4.1 2000/10/10 22:25:11 he Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -70,13 +70,15 @@
 ino_t           lowerbnd __P((ino_t));
 void            mktempname __P((struct entry *));
 void            moveentry __P((struct entry *, char *));
-void            msg __P((const char *, ...));
+void            msg __P((const char *, ...))
+     __attribute__((__format__(__printf__,1,2)));
 char           *myname __P((struct entry *));
 void            newnode __P((struct entry *));
 void            newtapebuf __P((long));
 long            nodeupdates __P((char *, ino_t, int));
 void            onintr __P((int));
-void            panic __P((const char *, ...));
+void            panic __P((const char *, ...))
+     __attribute__((__format__(__printf__,1,2)));
 void            pathcheck __P((char *));
 struct direct  *pathsearch __P((const char *));
 void            printdumpinfo __P((void));



Home | Main Index | Thread Index | Old Index