From 9779af85d6fe3091448ed77166877e3fcdfc3cfe Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 15 Jul 2011 15:44:36 +0200 Subject: s3:utils/net_afs fix compiler warnings --- source3/utils/net_afs.c | 5 +++-- 1 file 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 cell\n"); + d_printf("%s net afs key 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 \n"); + d_fprintf(stderr, "%s net afs impersonate \n", + _("Usage:")); exit(1); } -- cgit