git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ea84a
)
s3:pdbedit: fix "format not a string literal and no format arguments" warnings
author
Michael Adam
<obnox@samba.org>
Fri, 29 May 2009 21:48:26 +0000
(23:48 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 11 Jun 2009 07:33:42 +0000
(09:33 +0200)
Michael
(cherry picked from commit
2b68fb7cb4ab5b76028c54ef163badd2952fe0c0
)
(cherry picked from commit
138b037c437ad27466646beb33e1922b6d18ef8c
)
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index 000f8c8d5689347645cc71868730806345500833..17175eb0808d6efb3237dfda1a81c9c6dac79856 100644
(file)
--- 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;
}