lib/util: don't start DEBUG output with 'error '
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Mar 2012 09:39:49 +0000 (10:39 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 14 Mar 2012 11:00:46 +0000 (12:00 +0100)
This confused the subunit code.

metze

lib/util/util.c

index 867da0a3405cc4cd8fa2522595d8e06da8552eef..9f4fed07d614f0598ccb4fea87968e8db3c441cb 100644 (file)
@@ -153,7 +153,7 @@ _PUBLIC_ bool directory_create_or_exist(const char *dname, uid_t uid,
                if (errno == ENOENT) {
                        /* Create directory */
                        if (mkdir(dname, dir_perms) == -1) {
-                               DEBUG(0, ("error creating directory "
+                               DEBUG(0, ("mkdir failed on directory "
                                          "%s: %s\n", dname, 
                                          strerror(errno)));
                                umask(old_umask);