projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
whitespace cleanup
[platform/upstream/busybox.git]
/
libbb
/
loop.c
diff --git
a/libbb/loop.c
b/libbb/loop.c
index
da41d1e
..
d22b398
100644
(file)
--- a/
libbb/loop.c
+++ b/
libbb/loop.c
@@
-83,7
+83,7
@@
int set_loop(char **device, const char *file, int offset)
bb_loop_info loopinfo;
struct stat statbuf;
int i, dfd, ffd, mode, rc=-1;
-
+
/* Open the file. Barf if this doesn't work. */
if((ffd = open(file, mode=O_RDWR))<0 && (ffd = open(file,mode=O_RDONLY))<0)
return -errno;