diff options
-rw-r--r-- | etc/udev/rules.d/50-udev-default.rules | 3 | ||||
-rw-r--r-- | udev_node.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/etc/udev/rules.d/50-udev-default.rules b/etc/udev/rules.d/50-udev-default.rules index 633e2e7831..854809a7d3 100644 --- a/etc/udev/rules.d/50-udev-default.rules +++ b/etc/udev/rules.d/50-udev-default.rules @@ -88,7 +88,8 @@ KERNEL=="microcode", NAME="cpu/microcode", MODE="0600" # miscellaneous KERNEL=="fuse", MODE="0666" -KERNEL=="rtc", MODE="0644" +KERNEL=="rtc|rtc0", MODE="0644" +KERNEL=="rtc0", SYMLINK+="rtc" KERNEL=="auer[0-9]*" NAME="usb/%k" KERNEL=="hw_random", NAME="hwrng", SYMLINK+="%k" KERNEL=="mmtimer", MODE="0644" diff --git a/udev_node.c b/udev_node.c index fcd52d0e45..25eed86935 100644 --- a/udev_node.c +++ b/udev_node.c @@ -133,7 +133,7 @@ static int node_symlink(const char *node, const char *slink) stats.st_rdev == stats2.st_rdev) { info("replace device node '%s' with symlink to our node '%s'", slink, node); } else { - err("device node '%s' already exists, link '%s' will not overwrite it", node, slink); + err("device node '%s' already exists, link to '%s' will not overwrite it", slink, node); goto exit; } } |