diff options
Diffstat (limited to 'udev_utils.c')
-rw-r--r-- | udev_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev_utils.c b/udev_utils.c index fe18892de1..3c5344a8f9 100644 --- a/udev_utils.c +++ b/udev_utils.c @@ -57,9 +57,9 @@ void udev_init_device(struct udevice *udev, const char* devpath, const char *sub 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); + udev->mode = 0660; + strcpy(udev->owner, "root"); + strcpy(udev->group, "root"); } int kernel_release_satisfactory(int version, int patchlevel, int sublevel) |