summaryrefslogtreecommitdiff
path: root/lib/e2p/fsetflags.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-04-26 14:37:06 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-04-26 14:37:06 +0000
commit74becf3c0a065f8d64e07ce4d31f9fe53be91d62 (patch)
treedf6573f851195eb5a0beaa0bc540a74fc89cda3d /lib/e2p/fsetflags.c
parent900e442732393189b8ecfd3bb39176e398b24970 (diff)
downloade2fsprogs-74becf3c0a065f8d64e07ce4d31f9fe53be91d62.tar.gz
Many files:
Checkin of e2fsprogs 1.02.
Diffstat (limited to 'lib/e2p/fsetflags.c')
-rw-r--r--lib/e2p/fsetflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2p/fsetflags.c b/lib/e2p/fsetflags.c
index a2584432..06aabba4 100644
--- a/lib/e2p/fsetflags.c
+++ b/lib/e2p/fsetflags.c
@@ -55,7 +55,7 @@ int fsetflags (const char * name, unsigned long flags)
int fd;
int r;
- fd = open (name, O_RDONLY);
+ fd = open (name, O_RDONLY|O_NONBLOCK);
if (fd == -1)
return -1;
r = ioctl (fd, EXT2_IOC_SETFLAGS, &flags);