1diff --git a/udev.c b/udev.c
2index bc4722b0..aa2a1a24 100644
3--- a/udev.c
4+++ b/udev.c
5@@ -167,7 +167,7 @@ enum udev_status udev_block(char *devnm)
6 int fd;
7 char *path = xcalloc(1, BUFSIZ);
8
9- snprintf(path, BUFSIZ, "/run/mdadm/creating-%s", devnm);
10+ snprintf(path, BUFSIZ, "%s/creating-%s", MAP_DIR, devnm);
11
12 fd = open(path, O_CREAT | O_RDWR, 0600);
13 if (!is_fd_valid(fd)) {