git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e31d4ee
)
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
Michael Adam
<obnox@samba.org>
Fri, 29 May 2009 21:52:23 +0000
(23:52 +0200)
Michael
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;
}