mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
udevd: clarify deprecated sysfs layout warning
This commit is contained in:
parent
0565a00a4c
commit
30f8f89625
@ -963,8 +963,9 @@ int main(int argc, char *argv[])
|
||||
util_strlcat(path, "/class/mem/null", sizeof(path));
|
||||
if (lstat(path, &statbuf) == 0) {
|
||||
if (S_ISDIR(statbuf.st_mode)) {
|
||||
const char *depr_str = "<6>udev: deprecated sysfs layout "
|
||||
"(CONFIG_SYSFS_DEPRECATED) is unsupported\n";
|
||||
const char *depr_str = "<6>udev: deprecated sysfs layout (kernel too old, "
|
||||
"or CONFIG_SYSFS_DEPRECATED) is unsupported, some "
|
||||
"udev features may fail\n";
|
||||
|
||||
write(fd, depr_str, strlen(depr_str));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user