From: greg@kroah.com Date: Fri, 8 Oct 2004 03:56:08 +0000 (-0700) Subject: [PATCH] get rid of annoying extra lines in the syslog for some libsysfs debug messages. X-Git-Tag: 034~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b19e47764c5a5baf4bf7b0d19528f8f456b05d61;p=systemd [PATCH] get rid of annoying extra lines in the syslog for some libsysfs debug messages. --- diff --git a/libsysfs/sysfs_utils.c b/libsysfs/sysfs_utils.c index 492c7fa6..f65e5df3 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))