diff options
| author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
|---|---|---|
| committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
| commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
| tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /libbb/loop.c | |
| parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
| download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip | |
just whitespace
Diffstat (limited to 'libbb/loop.c')
| -rw-r--r-- | libbb/loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index 6c3144a77..09b2beaa7 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
| @@ -56,7 +56,7 @@ char *query_loop(const char *device) | |||
| 56 | int fd; | 56 | int fd; |
| 57 | bb_loop_info loopinfo; | 57 | bb_loop_info loopinfo; |
| 58 | char *dev=0; | 58 | char *dev=0; |
| 59 | 59 | ||
| 60 | if ((fd = open(device, O_RDONLY)) < 0) return 0; | 60 | if ((fd = open(device, O_RDONLY)) < 0) return 0; |
| 61 | if (!ioctl(fd, BB_LOOP_GET_STATUS, &loopinfo)) | 61 | if (!ioctl(fd, BB_LOOP_GET_STATUS, &loopinfo)) |
| 62 | dev=bb_xasprintf("%ld %s", (long) loopinfo.lo_offset, | 62 | dev=bb_xasprintf("%ld %s", (long) loopinfo.lo_offset, |
| @@ -64,7 +64,7 @@ char *query_loop(const char *device) | |||
| 64 | close(fd); | 64 | close(fd); |
| 65 | 65 | ||
| 66 | return dev; | 66 | return dev; |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | 69 | ||
| 70 | int del_loop(const char *device) | 70 | int del_loop(const char *device) |
| @@ -74,7 +74,7 @@ int del_loop(const char *device) | |||
| 74 | if ((fd = open(device, O_RDONLY)) < 0) return 1; | 74 | if ((fd = open(device, O_RDONLY)) < 0) return 1; |
| 75 | rc=ioctl(fd, LOOP_CLR_FD, 0); | 75 | rc=ioctl(fd, LOOP_CLR_FD, 0); |
| 76 | close(fd); | 76 | close(fd); |
| 77 | 77 | ||
| 78 | return rc; | 78 | return rc; |
| 79 | } | 79 | } |
| 80 | 80 | ||
