summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-05-29 23:48:26 +0200
committerMichael Adam <obnox@samba.org>2009-05-29 23:52:23 +0200
commit2b68fb7cb4ab5b76028c54ef163badd2952fe0c0 (patch)
tree1c9c34e31b47e79ad7efc10fbcc0aecae32abeed /source3/utils
parente31d4ee936cf8f7ec02770fa4b87fc821820b2ae (diff)
downloadsamba-2b68fb7cb4ab5b76028c54ef163badd2952fe0c0.tar.gz
samba-2b68fb7cb4ab5b76028c54ef163badd2952fe0c0.tar.bz2
samba-2b68fb7cb4ab5b76028c54ef163badd2952fe0c0.zip
s3:pdbedit: fix "format not a string literal and no format arguments" warnings
Michael
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/pdbedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 000f8c8d56..17175eb080 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -630,7 +630,7 @@ static int new_user(const char *username, const char *fullname,
status = local_password_change(username, flags, pwd1, &err, &msg);
if (!NT_STATUS_IS_OK(status)) {
- if (err) fprintf(stderr, err);
+ if (err) fprintf(stderr, "%s", err);
ret = -1;
goto done;
}
@@ -738,7 +738,7 @@ static int new_machine(const char *machinename)
print_user_info(name, True, False);
ret = 0;
} else {
- if (err) fprintf(stderr, err);
+ if (err) fprintf(stderr, "%s", err);
ret = -1;
}