diff options
author | Petr Uzel | 2011-02-17 13:09:05 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-21 14:41:34 +0100 |
commit | b642d0e0c98efd73ce8973a9fd67ffcd8ec462c9 (patch) | |
tree | 421eb82368461c435bb9a0c5cfd6ce17e68315f3 /mount/lomount.c | |
parent | hexdump: new usage(), xalloc and err.h stuff (diff) | |
download | kernel-qcow2-util-linux-b642d0e0c98efd73ce8973a9fd67ffcd8ec462c9.tar.gz kernel-qcow2-util-linux-b642d0e0c98efd73ce8973a9fd67ffcd8ec462c9.tar.xz kernel-qcow2-util-linux-b642d0e0c98efd73ce8973a9fd67ffcd8ec462c9.zip |
losetup: spelling fixes
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Diffstat (limited to 'mount/lomount.c')
-rw-r--r-- | mount/lomount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mount/lomount.c b/mount/lomount.c index 4d23a615e..ceb321751 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -64,7 +64,7 @@ loop_info64_to_old(const struct loop_info64 *info64, struct loop_info *info) struct looplist { int flag; /* scanning options */ FILE *proc; /* /proc/partitions */ - int ncur; /* current possition */ + int ncur; /* current position */ int *minors; /* ary of minor numbers (when scan whole /dev) */ int nminors; /* number of items in *minors */ char name[128]; /* device name */ @@ -289,7 +289,7 @@ cmpnum(const void *p1, const void *p2) /* * The classic scandir() is more expensive and less portable. - * We needn't full loop device names -- minor numers (loop<N>) + * We needn't full loop device names -- minor numbers (loop<N>) * are enough. */ static int @@ -384,7 +384,7 @@ looplist_next(struct looplist *ll) ll->flag &= ~LLFLG_DFLT; } - /* C) the worst posibility, scan all /dev or /dev/loop + /* C) the worst possibility, scan all /dev or /dev/loop */ if (!ll->minors) { ll->nminors = (ll->flag & LLFLG_SUBDIR) ? @@ -879,7 +879,7 @@ set_loop(const char *device, const char *file, unsigned long long offset, } /* - * HACK: here we're leeking a file descriptor, + * HACK: here we're leaking a file descriptor, * but mount is a short-lived process anyway. */ if (!(*options & SETLOOP_AUTOCLEAR)) |