summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-07-15 15:44:36 +0200
committerChristian Ambach <ambi@samba.org>2011-07-21 14:55:01 +0200
commit9779af85d6fe3091448ed77166877e3fcdfc3cfe (patch)
tree27298d003da9bcc94ea2e444ec46f58b02411500
parentffbecc0cf6878f935aec9427e632f7cfe8571149 (diff)
downloadsamba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.tar.gz
samba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.tar.bz2
samba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.zip
s3:utils/net_afs fix compiler warnings
-rw-r--r--source3/utils/net_afs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_afs.c b/source3/utils/net_afs.c
index e8d28f48fd..786627dfa1 100644
--- 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);
}