chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udevd: do not use syslog if --verbose (debugging) is used
[elogind.git]
/
udev_utils_file.c
diff --git
a/udev_utils_file.c
b/udev_utils_file.c
index ba70b6b395f95d42b43a05401751a0be157b14f2..44c36863617466803dcdbefe192fe4c11dce3d46 100644
(file)
--- a/
udev_utils_file.c
+++ b/
udev_utils_file.c
@@
-45,14
+45,14
@@
int create_path(const char *path)
pos--;
pos[0] = '\0';
pos--;
pos[0] = '\0';
- dbg("stat '%s'
\n
", p);
+ dbg("stat '%s'", p);
if (stat(p, &stats) == 0 && (stats.st_mode & S_IFMT) == S_IFDIR)
return 0;
if (create_path (p) != 0)
return -1;
if (stat(p, &stats) == 0 && (stats.st_mode & S_IFMT) == S_IFDIR)
return 0;
if (create_path (p) != 0)
return -1;
- dbg("mkdir '%s'
\n
", p);
+ dbg("mkdir '%s'", p);
if (mkdir(p, 0755) == 0)
return 0;
if (errno == EEXIST)
if (mkdir(p, 0755) == 0)
return 0;
if (errno == EEXIST)