summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_registry.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index 2ffc5f5a2c..1006079a03 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -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)) {
- 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)) {
- d_fprintf(stderr, _("reg_getkeysecurity failed: %s\n"),
+ d_fprintf(stderr, "%s%s\n", _("reg_getkeysecurity failed: "),
win_errstr(werr));
goto done;
}