diff options
-rw-r--r-- | libudev/libudev-util-private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c index 5b3e337643..c05c157575 100644 --- a/libudev/libudev-util-private.c +++ b/libudev/libudev-util-private.c @@ -114,8 +114,8 @@ int util_unlink_secure(struct udev *udev, const char *filename) { int err; - chmod(filename, 0000); chown(filename, 0, 0); + chmod(filename, 0000); err = unlink(filename); if (errno == ENOENT) err = 0; |