diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-28 00:34:05 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-28 00:34:05 +0200 |
commit | 0e385feecc252b8803b5c4bf2dc501ab486d86f7 (patch) | |
tree | 13504c85c3efdeee6d3d21d43adaecd1bcdf2d1f /udevd.c | |
parent | 5fc32819ecb0c05fd8f67a2dfeff2454057982f8 (diff) |
udevd: create leading directories for /dev/.udev/uevent_seqnum
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -841,6 +841,7 @@ static void export_initial_seqnum(void) } strlcpy(filename, udev_root, sizeof(filename)); strlcat(filename, "/" EVENT_SEQNUM, sizeof(filename)); + create_path(filename); fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0644); if (fd >= 0) { write(fd, seqnum, len); |