Source-Changes-HG archive

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

[src/trunk]: src/dist/file/src Apply a patch from the head of file for a prin...



details:   https://anonhg.NetBSD.org/src/rev/f114eabe38bb
branches:  trunk
changeset: 571193:f114eabe38bb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 13 10:18:50 2004 +0000

description:
Apply a patch from the head of file for a printf argument mis-match.

diffstat:

 dist/file/src/fsmagic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4739d27c1f4b -r f114eabe38bb dist/file/src/fsmagic.c
--- a/dist/file/src/fsmagic.c   Sat Nov 13 10:17:24 2004 +0000
+++ b/dist/file/src/fsmagic.c   Sat Nov 13 10:18:50 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fsmagic.c,v 1.1.1.3 2003/10/27 16:14:22 pooka Exp $    */
+/*     $NetBSD: fsmagic.c,v 1.2 2004/11/13 10:18:50 christos Exp $     */
 
 /*
  * Copyright (c) Ian F. Darwin 1986-1995.
@@ -67,7 +67,7 @@
 #if 0
 FILE_RCSID("@(#)Id: fsmagic.c,v 1.43 2003/10/14 19:29:55 christos Exp")
 #else
-__RCSID("$NetBSD: fsmagic.c,v 1.1.1.3 2003/10/27 16:14:22 pooka Exp $");
+__RCSID("$NetBSD: fsmagic.c,v 1.2 2004/11/13 10:18:50 christos Exp $");
 #endif
 #endif /* lint */
 
@@ -100,7 +100,7 @@
                        file_error(ms, errno, "cannot stat `%s'", fn);
                        return -1;
                }
-               if (file_printf(ms, "cannot open (%s)",
+               if (file_printf(ms, "cannot open `%s' (%s)",
                    fn, strerror(errno)) == -1)
                        return -1;
                return 1;



Home | Main Index | Thread Index | Old Index