summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-20 01:31:56 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:19:09 -0700
commit65ab1334122b6ed427ce39f48fb40757d44f8d71 (patch)
tree331c69c08e98ca2f88c154f531549c79b458dfa8 /udev_add.c
parent2a270316e4c0afa1efe98d665e2e329b7bae6c0a (diff)
[PATCH] simplify permission application
We have only one source of permissions now, so apply the default permissions at udev init.
Diffstat (limited to 'udev_add.c')
-rw-r--r--udev_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_add.c b/udev_add.c
index f537f567cc..c9b30bad90 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -189,7 +189,7 @@ static int create_node(struct udevice *udev)
} else {
info("creating device node '%s', major = '%d', minor = '%d', "
"mode = '%#o', uid = '%d', gid = '%d'", filename,
- udev->major, udev->minor, (mode_t)udev->mode, uid, gid);
+ udev->major, udev->minor, udev->mode, uid, gid);
}
/* create all_partitions if requested */