diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-09 16:37:54 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-09 19:25:41 +0200 |
commit | 83cd6b754b270091840456a2c8a66dae19f5a7dc (patch) | |
tree | c7088359f9927196a9e64b5b1bfb100733725f47 /src/udev/test-udev.c | |
parent | f1ff47be175bdcb8ed8512393fee9f9615501e24 (diff) |
udev: convert 'uaccess' to a builtin
Diffstat (limited to 'src/udev/test-udev.c')
-rw-r--r-- | src/udev/test-udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/test-udev.c b/src/udev/test-udev.c index 53ecd95bcf..150cb16a31 100644 --- a/src/udev/test-udev.c +++ b/src/udev/test-udev.c @@ -88,7 +88,7 @@ int main(int argc, char *argv[]) /* do what devtmpfs usually provides us */ if (udev_device_get_devnode(dev) != NULL) { - mode_t mode; + mode_t mode = 0600; if (strcmp(udev_device_get_subsystem(dev), "block") == 0) mode |= S_IFBLK; |