diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-10-18 20:51:16 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:06:43 -0700 |
commit | 1b1ba9336508dd1a06bb81bbf89b049e9e38f126 (patch) | |
tree | 43554b1468bc4e886391e8b74476632e7d592a29 /extras | |
parent | 9cd1b46a138dbdd6c3fad2e23f88e34740b3a054 (diff) |
[PATCH] volume_id fix
I've been told that open() should not pass O_NONBLOCK.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/volume_id/volume_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |