diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 01:48:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 01:48:17 +0000 |
commit | fa6c4844b2fef07def6b739c8f28ec50c2612208 (patch) | |
tree | 971b38f45cc2c30f693cc6cc650f4c280d11babd /util-linux | |
parent | 9c03cb920acdb19595e4a670cf4081b0631b7b52 (diff) | |
download | busybox-w32-fa6c4844b2fef07def6b739c8f28ec50c2612208.tar.gz busybox-w32-fa6c4844b2fef07def6b739c8f28ec50c2612208.tar.bz2 busybox-w32-fa6c4844b2fef07def6b739c8f28ec50c2612208.zip |
fix spelling mistakes
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 12 | ||||
-rw-r--r-- | util-linux/nfsmount.c | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 2042951d9..8ceeb4835 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -5075,7 +5075,7 @@ static void | |||
5075 | add_partition(int n, int sys) | 5075 | add_partition(int n, int sys) |
5076 | { | 5076 | { |
5077 | char mesg[256]; /* 48 does not suffice in Japanese */ | 5077 | char mesg[256]; /* 48 does not suffice in Japanese */ |
5078 | int i, readed = 0; | 5078 | int i, num_read = 0; |
5079 | struct partition *p = ptes[n].part_table; | 5079 | struct partition *p = ptes[n].part_table; |
5080 | struct partition *q = ptes[ext_index].part_table; | 5080 | struct partition *q = ptes[ext_index].part_table; |
5081 | long long llimit; | 5081 | long long llimit; |
@@ -5124,12 +5124,12 @@ add_partition(int n, int sys) | |||
5124 | } | 5124 | } |
5125 | if (start > limit) | 5125 | if (start > limit) |
5126 | break; | 5126 | break; |
5127 | if (start >= temp+units_per_sector && readed) { | 5127 | if (start >= temp+units_per_sector && num_read) { |
5128 | printf(_("Sector %llu is already allocated\n"), (unsigned long long)temp); | 5128 | printf(_("Sector %llu is already allocated\n"), (unsigned long long)temp); |
5129 | temp = start; | 5129 | temp = start; |
5130 | readed = 0; | 5130 | num_read = 0; |
5131 | } | 5131 | } |
5132 | if (!readed && start == temp) { | 5132 | if (!num_read && start == temp) { |
5133 | off_t saved_start; | 5133 | off_t saved_start; |
5134 | 5134 | ||
5135 | saved_start = start; | 5135 | saved_start = start; |
@@ -5139,9 +5139,9 @@ add_partition(int n, int sys) | |||
5139 | start = (start - 1) * units_per_sector; | 5139 | start = (start - 1) * units_per_sector; |
5140 | if (start < saved_start) start = saved_start; | 5140 | if (start < saved_start) start = saved_start; |
5141 | } | 5141 | } |
5142 | readed = 1; | 5142 | num_read = 1; |
5143 | } | 5143 | } |
5144 | } while (start != temp || !readed); | 5144 | } while (start != temp || !num_read); |
5145 | if (n > 4) { /* NOT for fifth partition */ | 5145 | if (n > 4) { /* NOT for fifth partition */ |
5146 | struct pte *pe = &ptes[n]; | 5146 | struct pte *pe = &ptes[n]; |
5147 | 5147 | ||
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c index 7b742cb5f..4ab415f0f 100644 --- a/util-linux/nfsmount.c +++ b/util-linux/nfsmount.c | |||
@@ -623,7 +623,7 @@ int nfsmount(const char *spec, const char *node, int *flags, | |||
623 | return retval; | 623 | return retval; |
624 | } | 624 | } |
625 | 625 | ||
626 | /* create mount deamon client */ | 626 | /* create mount daemon client */ |
627 | /* See if the nfs host = mount host. */ | 627 | /* See if the nfs host = mount host. */ |
628 | if (mounthost) { | 628 | if (mounthost) { |
629 | if (mounthost[0] >= '0' && mounthost[0] <= '9') { | 629 | if (mounthost[0] >= '0' && mounthost[0] <= '9') { |
@@ -835,7 +835,7 @@ int nfsmount(const char *spec, const char *node, int *flags, | |||
835 | #endif | 835 | #endif |
836 | } | 836 | } |
837 | #ifdef NFS_MOUNT_DEBUG | 837 | #ifdef NFS_MOUNT_DEBUG |
838 | printf(_("using port %d for nfs deamon\n"), port); | 838 | printf(_("using port %d for nfs daemon\n"), port); |
839 | #endif | 839 | #endif |
840 | server_addr.sin_port = htons(port); | 840 | server_addr.sin_port = htons(port); |
841 | /* | 841 | /* |