From 8cd392c57eea6ead875c04efeb64ad22c1e852ed Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 7 Mar 2010 18:47:23 +0000 Subject: [PATCH] fix the logging file for nmbd SVN-Revision: 20042 --- net/samba3/patches/100-avm.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/samba3/patches/100-avm.patch b/net/samba3/patches/100-avm.patch index 4f4c59da1..2db6e6133 100644 --- a/net/samba3/patches/100-avm.patch +++ b/net/samba3/patches/100-avm.patch @@ -7233,7 +7233,7 @@ diff -urN samba-3.0.24/source/nmbd/nmbd.c samba-3.0.24.new/source/nmbd/nmbd.c +void _fLog(char *fmt, ...) +{ + va_list va; -+ FILE *fp = fopen("/var/tmp/smbd.log", "a"); ++ FILE *fp = fopen("/var/tmp/nmbd.log", "a"); + time_t t = time(0); /* LOG */ + + if (!fp) return; @@ -7249,7 +7249,7 @@ diff -urN samba-3.0.24/source/nmbd/nmbd.c samba-3.0.24.new/source/nmbd/nmbd.c +void _fDebug(char *fmt, ...) +{ + va_list va; -+ FILE *fp = fopen("/var/tmp/smbd.log", "a"); ++ FILE *fp = fopen("/var/tmp/nmbd.log", "a"); + time_t t = time(0); /* LOG */ + + if (!fp) return; -- 2.30.2