[packages] fix the logging file for nmbd
authorFlorian Fainelli <florian@openwrt.org>
Sun, 7 Mar 2010 18:47:23 +0000 (18:47 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 7 Mar 2010 18:47:23 +0000 (18:47 +0000)
SVN-Revision: 20042

net/samba3/patches/100-avm.patch

index 4f4c59d..2db6e61 100644 (file)
@@ -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;