projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svn add bb_strtonum.c :(
[oweals/busybox.git]
/
libbb
/
loop.c
diff --git
a/libbb/loop.c
b/libbb/loop.c
index 1b296d99bef969a12ff65184294705f6c0261320..14835ec245989b254a3f3c88d41a391e4f562ea6 100644
(file)
--- a/
libbb/loop.c
+++ b/
libbb/loop.c
@@
-133,7
+133,9
@@
int set_loop(char **device, const char *file, unsigned long long offset)
without using losetup manually is problematic.)
*/
} else if (strcmp(file,(char *)loopinfo.lo_file_name)
- || offset!=loopinfo.lo_offset) rc = -1;
+ || offset != loopinfo.lo_offset) {
+ rc = -1;
+ }
close(dfd);
try_again:
if (*device) break;