Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mountd Reorder arguments to error message so the me...



details:   https://anonhg.NetBSD.org/src/rev/49cc665ef6a0
branches:  trunk
changeset: 475788:49cc665ef6a0
user:      mjl <mjl%NetBSD.org@localhost>
date:      Wed Aug 25 17:26:20 1999 +0000

description:
Reorder arguments to error message so the message actually makes
sense. Closes PR/ by Martin Berger <>.

diffstat:

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

diffs (27 lines):

diff -r c06c80540999 -r 49cc665ef6a0 usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Wed Aug 25 17:08:20 1999 +0000
+++ b/usr.sbin/mountd/mountd.c  Wed Aug 25 17:26:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mountd.c,v 1.55 1999/08/16 03:12:32 simonb Exp $    */
+/* $NetBSD: mountd.c,v 1.56 1999/08/25 17:26:20 mjl Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -51,7 +51,7 @@
 #if 0
 static char     sccsid[] = "@(#)mountd.c  8.15 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mountd.c,v 1.55 1999/08/16 03:12:32 simonb Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.56 1999/08/25 17:26:20 mjl Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -2243,7 +2243,7 @@
 bad1:
        syslog(LOG_ERR,
            "\"%s\", line %ld: `%s' is not a%s directory",
-           line, (unsigned long)lineno, file, dirp);
+           line, (unsigned long)lineno, dirp, file);
        if (cp)
                *cp = '/';
        return 0;



Home | Main Index | Thread Index | Old Index