s3:utils/net_afs fix compiler warnings
authorChristian Ambach <ambi@samba.org>
Fri, 15 Jul 2011 13:44:36 +0000 (15:44 +0200)
committerChristian Ambach <ambi@samba.org>
Thu, 21 Jul 2011 12:55:01 +0000 (14:55 +0200)
source3/utils/net_afs.c

index e8d28f48fd88551563087ac7ac86a69a202574da..786627dfa1f216547685393c0fedc17d683262d9 100644 (file)
@@ -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);
        }