summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-07 20:56:08 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:03 -0700
commitb19e47764c5a5baf4bf7b0d19528f8f456b05d61 (patch)
treeb7b66da2420ea33a3cc343a6f2ac708557db7322
parent[PATCH] added support for i2c devices in wait_for_sysfs.c (diff)
downloadsystemd-b19e47764c5a5baf4bf7b0d19528f8f456b05d61.tar.gz
systemd-b19e47764c5a5baf4bf7b0d19528f8f456b05d61.tar.bz2
systemd-b19e47764c5a5baf4bf7b0d19528f8f456b05d61.zip
[PATCH] get rid of annoying extra lines in the syslog for some libsysfs debug messages.
-rw-r--r--libsysfs/sysfs_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsysfs/sysfs_utils.c b/libsysfs/sysfs_utils.c
index 492c7fa66..f65e5df3a 100644
--- a/libsysfs/sysfs_utils.c
+++ b/libsysfs/sysfs_utils.c
@@ -454,7 +454,7 @@ int sysfs_path_is_link(const char *path)
return 1;
}
if ((lstat(path, &astats)) != 0) {
- dprintf("stat() failed\n");
+ dprintf("stat() failed");
return 1;
}
if (S_ISLNK(astats.st_mode))
@@ -477,7 +477,7 @@ int sysfs_path_is_file(const char *path)
return 1;
}
if ((lstat(path, &astats)) != 0) {
- dprintf("stat() failed\n");
+ dprintf("stat() failed");
return 1;
}
if (S_ISREG(astats.st_mode))