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:
parent
606397db85
commit
b19e47764c
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user