chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0565a00
)
udevd: clarify deprecated sysfs layout warning
author
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 4 Oct 2008 11:52:39 +0000
(13:52 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 4 Oct 2008 11:52:39 +0000
(13:52 +0200)
udev/udevd.c
patch
|
blob
|
history
diff --git
a/udev/udevd.c
b/udev/udevd.c
index 4000d37e80f596b8a9d5499965b0d3ed73c3b225..ee686c6eb7dedb480425f7c6e94cb09bbefce8e4 100644
(file)
--- 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)) {
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));
}
write(fd, depr_str, strlen(depr_str));
}