Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
385 B
Diff
14 lines
385 B
Diff
diff --git a/udev.c b/udev.c
|
|
index bc4722b0..aa2a1a24 100644
|
|
--- a/udev.c
|
|
+++ b/udev.c
|
|
@@ -167,7 +167,7 @@ enum udev_status udev_block(char *devnm)
|
|
int fd;
|
|
char *path = xcalloc(1, BUFSIZ);
|
|
|
|
- snprintf(path, BUFSIZ, "/run/mdadm/creating-%s", devnm);
|
|
+ snprintf(path, BUFSIZ, "%s/creating-%s", MAP_DIR, devnm);
|
|
|
|
fd = open(path, O_CREAT | O_RDWR, 0600);
|
|
if (!is_fd_valid(fd)) {
|