summaryrefslogtreecommitdiffstats
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-03 03:24:23 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-03 03:24:23 +0000
commit43059acb95837fce3c8fdf5fc71b96c403e61939 (patch)
tree20908cccfc34f5e4421b252ce698a3cbf534bc44 /source3/lib/util_str.c
parenta63aa62bdd3ef4545cfd68123aa3e7363dcec2e2 (diff)
downloadsamba-43059acb95837fce3c8fdf5fc71b96c403e61939.tar.gz
samba-43059acb95837fce3c8fdf5fc71b96c403e61939.tar.xz
samba-43059acb95837fce3c8fdf5fc71b96c403e61939.zip
Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index f3fa89b05f3..5a1f159bdbf 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1116,7 +1116,7 @@ char *binary_string(char *buf, int len)
Just a typesafety wrapper for snprintf into a pstring.
********************************************************************/
-int pstr_sprintf(pstring s, const char *fmt, ...)
+ int pstr_sprintf(pstring s, const char *fmt, ...)
{
va_list ap;
int ret;
@@ -1131,7 +1131,7 @@ int pstr_sprintf(pstring s, const char *fmt, ...)
Just a typesafety wrapper for snprintf into a fstring.
********************************************************************/
-int fstr_sprintf(fstring s, const char *fmt, ...)
+ int fstr_sprintf(fstring s, const char *fmt, ...)
{
va_list ap;
int ret;