From 1b1ba9336508dd1a06bb81bbf89b049e9e38f126 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 18 Oct 2004 20:51:16 -0700 Subject: [PATCH] [PATCH] volume_id fix I've been told that open() should not pass O_NONBLOCK. --- extras/volume_id/volume_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/volume_id/volume_id.c b/extras/volume_id/volume_id.c index f18baec6..0b43bc8e 100644 --- a/extras/volume_id/volume_id.c +++ b/extras/volume_id/volume_id.c @@ -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; -- 2.39.5