Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sup/source forgot the %s for the error



details:   https://anonhg.NetBSD.org/src/rev/019b89d152ff
branches:  trunk
changeset: 779014:019b89d152ff
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 25 18:07:45 2012 +0000

description:
forgot the %s for the error

diffstat:

 usr.sbin/sup/source/supscan.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 53925ffb27cd -r 019b89d152ff usr.sbin/sup/source/supscan.c
--- a/usr.sbin/sup/source/supscan.c     Wed Apr 25 17:33:49 2012 +0000
+++ b/usr.sbin/sup/source/supscan.c     Wed Apr 25 18:07:45 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: supscan.c,v 1.20 2012/04/25 17:33:49 christos Exp $    */
+/*     $NetBSD: supscan.c,v 1.21 2012/04/25 18:07:45 christos Exp $    */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -388,7 +388,7 @@
                        prefix = estrdup(p);
                        if (chdir(prefix) < 0) {
                                fprintf(stderr, "supscan: can't chdir to %s "
-                                   " from base directory %s for %s\n",
+                                   " from base directory %s for %s (%s)\n",
                                    prefix, basedir, collname, strerror(errno));
                                fclose(f);
                                free(prefix);



Home | Main Index | Thread Index | Old Index