[PATCH] get rid of annoying extra lines in the syslog for some libsysfs debug messages.

This commit is contained in:
greg@kroah.com
2005-04-26 21:37:03 -07:00
committed by Greg KH
parent 606397db85
commit b19e47764c
+2 -2
View File
@@ -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))