diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-23 08:41:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-23 08:41:08 +0000 |
commit | 49a5eba9ae7d560bbbbdc677712091acee4f426c (patch) | |
tree | 728708f9e1a817d5be9841c6d1bba941084c1789 | |
parent | 040e32f84cdf376ab69fd7931e30100bbf020bfc (diff) | |
download | busybox-w32-49a5eba9ae7d560bbbbdc677712091acee4f426c.tar.gz busybox-w32-49a5eba9ae7d560bbbbdc677712091acee4f426c.tar.bz2 busybox-w32-49a5eba9ae7d560bbbbdc677712091acee4f426c.zip |
s/othervise/otherwise/g
-rw-r--r-- | include/usage.h | 2 | ||||
-rw-r--r-- | include/xatonum.h | 2 | ||||
-rw-r--r-- | libbb/bb_strtonum.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h index e1e234367..9a73d0890 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2196,7 +2196,7 @@ | |||
2196 | #define lpd_full_usage "\n\n" \ | 2196 | #define lpd_full_usage "\n\n" \ |
2197 | "SPOOLDIR must contain (symlinks to) device nodes or directories" \ | 2197 | "SPOOLDIR must contain (symlinks to) device nodes or directories" \ |
2198 | "\nwith names matching print queue names. In the first case, jobs are" \ | 2198 | "\nwith names matching print queue names. In the first case, jobs are" \ |
2199 | "\nsent directly to the device. Othervise each job is stored in queue" \ | 2199 | "\nsent directly to the device. Otherwise each job is stored in queue" \ |
2200 | "\ndirectory and HELPER program is called. Name of file to print" \ | 2200 | "\ndirectory and HELPER program is called. Name of file to print" \ |
2201 | "\nis passed in $DATAFILE variable." \ | 2201 | "\nis passed in $DATAFILE variable." \ |
2202 | "\nExample:" \ | 2202 | "\nExample:" \ |
diff --git a/include/xatonum.h b/include/xatonum.h index 02aacc0d5..86a3472d9 100644 --- a/include/xatonum.h +++ b/include/xatonum.h | |||
@@ -112,7 +112,7 @@ static ALWAYS_INLINE uint32_t xatou32(const char *numstr) | |||
112 | /* Non-aborting kind of convertors: bb_strto[u][l]l */ | 112 | /* Non-aborting kind of convertors: bb_strto[u][l]l */ |
113 | 113 | ||
114 | /* On exit: errno = 0 only if there was non-empty, '\0' terminated value | 114 | /* On exit: errno = 0 only if there was non-empty, '\0' terminated value |
115 | * errno = EINVAL if value was not '\0' terminated, but othervise ok | 115 | * errno = EINVAL if value was not '\0' terminated, but otherwise ok |
116 | * Return value is still valid, caller should just check whether end[0] | 116 | * Return value is still valid, caller should just check whether end[0] |
117 | * is a valid terminating char for particular case. OTOH, if caller | 117 | * is a valid terminating char for particular case. OTOH, if caller |
118 | * requires '\0' terminated input, [s]he can just check errno == 0. | 118 | * requires '\0' terminated input, [s]he can just check errno == 0. |
diff --git a/libbb/bb_strtonum.c b/libbb/bb_strtonum.c index 4a0da0ae0..87cd744a7 100644 --- a/libbb/bb_strtonum.c +++ b/libbb/bb_strtonum.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
11 | 11 | ||
12 | /* On exit: errno = 0 only if there was non-empty, '\0' terminated value | 12 | /* On exit: errno = 0 only if there was non-empty, '\0' terminated value |
13 | * errno = EINVAL if value was not '\0' terminated, but othervise ok | 13 | * errno = EINVAL if value was not '\0' terminated, but otherwise ok |
14 | * Return value is still valid, caller should just check whether end[0] | 14 | * Return value is still valid, caller should just check whether end[0] |
15 | * is a valid terminating char for particular case. OTOH, if caller | 15 | * is a valid terminating char for particular case. OTOH, if caller |
16 | * requires '\0' terminated input, [s]he can just check errno == 0. | 16 | * requires '\0' terminated input, [s]he can just check errno == 0. |