s3:services_db: fix a debug message
authorMichael Adam <obnox@samba.org>
Mon, 20 Sep 2010 01:36:23 +0000 (03:36 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 21 Sep 2010 04:53:30 +0000 (06:53 +0200)
source3/services/services_db.c

index cd05b0e5860028871e41fb49837c11806b948a33..50e54b6524008e32fa8ca7a8f5597e86f3ff463a 100644 (file)
@@ -595,8 +595,8 @@ bool svcctl_set_secdesc( TALLOC_CTX *ctx, const char *name, struct security_desc
        wresult = reg_open_path(mem_ctx, path, REG_KEY_ALL, token, &key);
 
        if ( !W_ERROR_IS_OK(wresult) ) {
        wresult = reg_open_path(mem_ctx, path, REG_KEY_ALL, token, &key);
 
        if ( !W_ERROR_IS_OK(wresult) ) {
-               DEBUG(0,("svcctl_get_secdesc: key lookup failed! [%s] (%s)\n",
-                       path, win_errstr(wresult)));
+               DEBUG(0, ("svcctl_set_secdesc: key lookup failed! [%s] (%s)\n",
+                         path, win_errstr(wresult)));
                goto done;
        }
 
                goto done;
        }