s3:rpc_server: Fix inverted error messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 30 Aug 2023 01:58:18 +0000 (13:58 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Sep 2023 21:35:29 +0000 (21:35 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/svcctl/srv_svcctl_reg.c

index 5eee9e07ba0e616265cbbfdbb7bb5974b938a292..78f6096eb6a5e74eaacc7948cb75f9d1df1957fa 100644 (file)
@@ -601,12 +601,12 @@ bool svcctl_init_winreg(struct messaging_context *msg_ctx)
                                         &subkeys,
                                         &result);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("svcctl_init_winreg: Could enum keys at %s - %s\n",
+               DEBUG(0, ("svcctl_init_winreg: Could not enum keys at %s - %s\n",
                          key, nt_errstr(status)));
                goto done;
        }
        if (!W_ERROR_IS_OK(result)) {
-               DEBUG(0, ("svcctl_init_winreg: Could enum keys at %s - %s\n",
+               DEBUG(0, ("svcctl_init_winreg: Could not enum keys at %s - %s\n",
                          key, win_errstr(result)));
                goto done;
        }