git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert snprintf() calls using pstrings & fstrings
[kai/samba.git]
/
source3
/
torture
/
nsstest.c
diff --git
a/source3/torture/nsstest.c
b/source3/torture/nsstest.c
index b5cd59d50bc93555226deb763a088195cf20a825..a803cd7e719e9585968e55a4af58b2f5817df665 100644
(file)
--- a/
source3/torture/nsstest.c
+++ b/
source3/torture/nsstest.c
@@
-29,11
+29,11
@@
static int total_errors;
static void *find_fn(const char *name)
{
-
char s[1024]
;
+
pstring s
;
static void *h;
void *res;
-
snprintf(s,sizeof(s)
, "_nss_%s_%s", nss_name, name);
+
pstr_sprintf(s
, "_nss_%s_%s", nss_name, name);
if (!h) {
h = sys_dlopen(so_path, RTLD_LAZY);