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] 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(-) (limited to 'extras') diff --git a/extras/volume_id/volume_id.c b/extras/volume_id/volume_id.c index f18baec6ee..0b43bc8efb 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; -- cgit v1.2.3-54-g00ecf