1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-30 01:47:42 +03:00

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

This commit is contained in:
greg@kroah.com 2004-10-07 20:56:08 -07:00 committed by Greg KH
parent 606397db85
commit b19e47764c

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))