fixes samba3 to use gawk instead of mawk
[openwrt/svn-archive/archive.git] / net / samba3 / patches / 160-fix_log.patch
1 Index: samba-3.0.24/source/lib/popt_common.c
2 ===================================================================
3 --- samba-3.0.24.orig/source/lib/popt_common.c 2008-08-11 11:25:26.000000000 +0200
4 +++ samba-3.0.24/source/lib/popt_common.c 2008-08-11 11:26:03.000000000 +0200
5 @@ -54,7 +54,7 @@
6 else
7 pname++;
8
9 - pstr_sprintf(logfile, "%s/log.%s", arg, pname);
10 + pstr_sprintf(logfile, "%s/log/%s.log", arg, pname);
11 lp_set_logfile(logfile);
12 }
13