chiark / gitweb /
[PATCH] volume_id fix
[elogind.git] / extras / volume_id / volume_id.c
index f18baec6eea9172b9c3d662fd40d45c33d6ed3f1..0b43bc8efb84ffd6afd263abce483b840c538ded 100644 (file)
@@ -2128,7 +2128,7 @@ struct volume_id *volume_id_open_node(const char *path)
        struct volume_id *id;
        int fd;
 
-       fd = open(path, O_RDONLY | O_NONBLOCK);
+       fd = open(path, O_RDONLY);
        if (fd < 0) {
                dbg("unable to open '%s'", path);
                return NULL;