diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /libbb/loop.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) | |
download | busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.gz busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.bz2 busybox-w32-7039a66b58706457c7423de60556e04545432943.zip |
correct largefile support, add comments about it.
Diffstat (limited to 'libbb/loop.c')
-rw-r--r-- | libbb/loop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index 1b296d99b..14835ec24 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
@@ -133,7 +133,9 @@ int set_loop(char **device, const char *file, unsigned long long offset) | |||
133 | without using losetup manually is problematic.) | 133 | without using losetup manually is problematic.) |
134 | */ | 134 | */ |
135 | } else if (strcmp(file,(char *)loopinfo.lo_file_name) | 135 | } else if (strcmp(file,(char *)loopinfo.lo_file_name) |
136 | || offset!=loopinfo.lo_offset) rc = -1; | 136 | || offset != loopinfo.lo_offset) { |
137 | rc = -1; | ||
138 | } | ||
137 | close(dfd); | 139 | close(dfd); |
138 | try_again: | 140 | try_again: |
139 | if (*device) break; | 141 | if (*device) break; |