s3:net: fix some i18n messages in net_registry_getsd_internal().
authorMichael Adam <obnox@samba.org>
Tue, 2 Mar 2010 13:43:26 +0000 (14:43 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 3 Mar 2010 08:16:38 +0000 (09:16 +0100)
Michael

source3/utils/net_registry.c

index 2ffc5f5a2c3a7c08dd5fb3022187c384bd10e7af..1006079a0332aa43d0542766a88034e227aca3d6 100644 (file)
@@ -452,13 +452,14 @@ static WERROR net_registry_getsd_internal(struct net_context *c,
 
        werr = open_key(ctx, keyname, access_mask, &key);
        if (!W_ERROR_IS_OK(werr)) {
 
        werr = open_key(ctx, keyname, access_mask, &key);
        if (!W_ERROR_IS_OK(werr)) {
-               d_fprintf(stderr, _("open_key failed: %s\n"), win_errstr(werr));
+               d_fprintf(stderr, "%s%s\n", _("open_key failed: "),
+                         win_errstr(werr));
                goto done;
        }
 
        werr = reg_getkeysecurity(mem_ctx, key, sd);
        if (!W_ERROR_IS_OK(werr)) {
                goto done;
        }
 
        werr = reg_getkeysecurity(mem_ctx, key, sd);
        if (!W_ERROR_IS_OK(werr)) {
-               d_fprintf(stderr, _("reg_getkeysecurity failed: %s\n"),
+               d_fprintf(stderr, "%s%s\n", _("reg_getkeysecurity failed: "),
                          win_errstr(werr));
                goto done;
        }
                          win_errstr(werr));
                goto done;
        }