summaryrefslogtreecommitdiff
path: root/udev_utils_file.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
commit92b229c727e34164a88f59142054d4cdee510f4c (patch)
tree6216926d81f322b4bbb58fe3761295d188bbac6f /udev_utils_file.c
parent3df3c93e2500b0dcf23989171d27c2b04d149407 (diff)
no newline in log messages
Diffstat (limited to 'udev_utils_file.c')
-rw-r--r--udev_utils_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_utils_file.c b/udev_utils_file.c
index ba70b6b395..44c3686361 100644
--- a/udev_utils_file.c
+++ b/udev_utils_file.c
@@ -45,14 +45,14 @@ int create_path(const char *path)
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;
- dbg("mkdir '%s'\n", p);
+ dbg("mkdir '%s'", p);
if (mkdir(p, 0755) == 0)
return 0;
if (errno == EEXIST)