diff options
Diffstat (limited to 'udev_utils.c')
-rw-r--r-- | udev_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/udev_utils.c b/udev_utils.c index aa5c75f74d..0b730d565b 100644 --- a/udev_utils.c +++ b/udev_utils.c @@ -55,6 +55,10 @@ void udev_init_device(struct udevice *udev, const char* devpath, const char *sub udev->type = 'n'; else if (strncmp(udev->devpath, "/class/", 7) == 0) udev->type = 'c'; + + udev->mode = default_mode; + strfieldcpy(udev->owner, default_owner); + strfieldcpy(udev->group, default_group); } int kernel_release_satisfactory(int version, int patchlevel, int sublevel) |