chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] volume_id fix
[elogind.git]
/
extras
/
volume_id
/
volume_id.c
diff --git
a/extras/volume_id/volume_id.c
b/extras/volume_id/volume_id.c
index f18baec6eea9172b9c3d662fd40d45c33d6ed3f1..0b43bc8efb84ffd6afd263abce483b840c538ded 100644
(file)
--- 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;