summaryrefslogtreecommitdiff
path: root/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-29 06:04:09 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-29 06:04:09 +0100
commit64be143742a487e826068e906d1bfb180acdb0ae (patch)
tree77b3bfaf7e64e2879225a748a3f7799cd68c2009 /udev/udevd.c
parente6fa87a11f61548f5442ec3c76b44ce6b25184cc (diff)
require non-SYSFS_DEPRECATED 2.6.20+ kernel
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index bfd732319d..993964d23d 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -823,9 +823,10 @@ 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 (kernel too old, "
- "or CONFIG_SYSFS_DEPRECATED) is unsupported, some "
- "udev features may fail\n";
+ const char *depr_str =
+ "<6>udev: deprecated sysfs layout; update the kernel or "
+ "disable CONFIG_SYSFS_DEPRECATED; some udev features will "
+ "not work correctly\n";
write(fd, depr_str, strlen(depr_str));
}