summaryrefslogtreecommitdiff
path: root/udev_utils.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-05 22:41:00 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:48:48 -0700
commit915a12adc2ea28dc2391788c66b829caefefcfb4 (patch)
tree120716814011075ab382b6c4c7d05f2cbdd4dfee /udev_utils.c
parent9bad6028f738e78b69d18947d586dce7b9267785 (diff)
[PATCH] use numeric owner/group as default values to avoid parsing userdb
Diffstat (limited to 'udev_utils.c')
-rw-r--r--udev_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_utils.c b/udev_utils.c
index 60f5ad859a..145f02b5e1 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -84,8 +84,8 @@ int udev_init_device(struct udevice *udev, const char* devpath, const char *subs
}
udev->mode = 0660;
- strcpy(udev->owner, "root");
- strcpy(udev->group, "root");
+ strcpy(udev->owner, "0");
+ strcpy(udev->group, "0");
return 0;
}