Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/smbfs/lib/smb don't print any warning message when no c...
details: https://anonhg.NetBSD.org/src/rev/7792cdc5662e
branches: trunk
changeset: 545604:7792cdc5662e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Apr 11 17:31:58 2003 +0000
description:
don't print any warning message when no config file is found
diffstat:
dist/smbfs/lib/smb/subr.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 977b24e3929b -r 7792cdc5662e dist/smbfs/lib/smb/subr.c
--- a/dist/smbfs/lib/smb/subr.c Fri Apr 11 17:21:47 2003 +0000
+++ b/dist/smbfs/lib/smb/subr.c Fri Apr 11 17:31:58 2003 +0000
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: subr.c,v 1.3 2003/04/04 08:05:37 jdolecek Exp $");
+__RCSID("$NetBSD: subr.c,v 1.4 2003/04/11 17:31:58 jdolecek Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -175,10 +175,8 @@
free(fn);
}
error = rc_merge(SMB_CFG_FILE, &smb_rc);
- if (smb_rc == NULL) {
- printf("Warning: no cfg file(s) found.\n");
+ if (smb_rc == NULL)
return ENOENT;
- }
return 0;
}
Home |
Main Index |
Thread Index |
Old Index