diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-04 13:52:39 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-04 13:52:39 +0200 |
commit | 30f8f896257189d6c931cadcfb4e892cb61d04cd (patch) | |
tree | 473e8a8accea32d32142c6a71d0517c3e0b36a41 /udev/udevd.c | |
parent | 0565a00a4cfdabd325bf2e117620d5f15dd46cda (diff) |
udevd: clarify deprecated sysfs layout warning
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 4000d37e80..ee686c6eb7 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -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)); } |