diff options
author | Christian Ambach <ambi@samba.org> | 2011-07-15 15:44:36 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-07-21 14:55:01 +0200 |
commit | 9779af85d6fe3091448ed77166877e3fcdfc3cfe (patch) | |
tree | 27298d003da9bcc94ea2e444ec46f58b02411500 | |
parent | ffbecc0cf6878f935aec9427e632f7cfe8571149 (diff) | |
download | samba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.tar.gz samba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.tar.bz2 samba-9779af85d6fe3091448ed77166877e3fcdfc3cfe.zip |
s3:utils/net_afs fix compiler warnings
-rw-r--r-- | source3/utils/net_afs.c | 5 |
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); } |