X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fbb_strtonum.c;h=87cd744a72765cd277c10f3f21d4859ebcfc3f6b;hb=9f5a577a3241597cb5e7ba9f6df33c2e3c440e44;hp=4a0da0ae0e88e30c9e4a545251ae1a5a7c1cb7c9;hpb=f19817ddc2f2162803b19448ea2b23b1209911dd;p=oweals%2Fbusybox.git 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 @@ #include "libbb.h" /* On exit: errno = 0 only if there was non-empty, '\0' terminated value - * errno = EINVAL if value was not '\0' terminated, but othervise ok + * errno = EINVAL if value was not '\0' terminated, but otherwise ok * Return value is still valid, caller should just check whether end[0] * is a valid terminating char for particular case. OTOH, if caller * requires '\0' terminated input, [s]he can just check errno == 0.