git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbecc0
)
s3:utils/net_afs fix compiler warnings
author
Christian Ambach
<ambi@samba.org>
Fri, 15 Jul 2011 13:44:36 +0000
(15:44 +0200)
committer
Christian Ambach
<ambi@samba.org>
Thu, 21 Jul 2011 12:55:01 +0000
(14:55 +0200)
source3/utils/net_afs.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_afs.c
b/source3/utils/net_afs.c
index e8d28f48fd88551563087ac7ac86a69a202574da..786627dfa1f216547685393c0fedc17d683262d9 100644
(file)
--- a/
source3/utils/net_afs.c
+++ b/
source3/utils/net_afs.c
@@
-37,7
+37,7
@@
int net_afs_key(struct net_context *c, int argc, const char **argv)
struct afs_keyfile keyfile;
if (argc != 2) {
- d_printf(
_("Usage:")," net afs key <keyfile> cell\n"
);
+ d_printf(
"%s net afs key <keyfile> cell\n", _("Usage:")
);
return -1;
}
@@
-72,7
+72,8
@@
int net_afs_impersonate(struct net_context *c, int argc,
char *token;
if (argc != 2) {
- fprintf(stderr, _("Usage:")," net afs impersonate <user> <cell>\n");
+ d_fprintf(stderr, "%s net afs impersonate <user> <cell>\n",
+ _("Usage:"));
exit(1);
}