summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-07 12:43:10 -0800
committerJeremy Allison <jra@samba.org>2007-12-07 12:43:10 -0800
commitade51769d5f7291f912893e5f959b651223a68c1 (patch)
treeaaf09396ce5711bee5305125ffb5b1ccb34940f8 /source3/lib
parentacf15ae730c95443681404c76b67ccfca0253d8b (diff)
downloadsamba-ade51769d5f7291f912893e5f959b651223a68c1.tar.gz
samba-ade51769d5f7291f912893e5f959b651223a68c1.tar.bz2
samba-ade51769d5f7291f912893e5f959b651223a68c1.zip
We don't need P_GSTRING or P_UGSTRING anymore.
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 99c26106af..835eeaecc3 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -112,7 +112,7 @@ static void popt_common_callback(poptContext con,
if (arg) {
set_logfile(con, arg);
override_logfile = True;
- pstr_sprintf(dyn_LOGFILEBASE, "%s", arg);
+ snprintf(dyn_LOGFILEBASE, sizeof(dyn_LOGFILEBASE), "%s", arg);
}
break;