aboutsummaryrefslogtreecommitdiff
path: root/libbb/loop.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
commit85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212 (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /libbb/loop.c
parent75648f106cb64fb6ccbb4a79d89fd6aef7298081 (diff)
downloadbusybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.gz
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.bz2
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.zip
whitespace cleanup
git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/loop.c')
-rw-r--r--libbb/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index da41d1e76..d22b39800 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -83,7 +83,7 @@ int set_loop(char **device, const char *file, int offset)
83 bb_loop_info loopinfo; 83 bb_loop_info loopinfo;
84 struct stat statbuf; 84 struct stat statbuf;
85 int i, dfd, ffd, mode, rc=-1; 85 int i, dfd, ffd, mode, rc=-1;
86 86
87 /* Open the file. Barf if this doesn't work. */ 87 /* Open the file. Barf if this doesn't work. */
88 if((ffd = open(file, mode=O_RDWR))<0 && (ffd = open(file,mode=O_RDONLY))<0) 88 if((ffd = open(file, mode=O_RDWR))<0 && (ffd = open(file,mode=O_RDONLY))<0)
89 return -errno; 89 return -errno;