]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Wed, 19 Oct 1994 02:45:36 +0000 (02:45 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Oct 1994 02:45:36 +0000 (02:45 +0000)
src/od.c

index 9f3c02871ddd71ad6fba233563af62814ffdc363..287bbf7180a6e40945e0a5b09ce65b2840ab3c8b 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -421,6 +421,7 @@ my_strtoul (s, base, val, allow_bkm_suffix)
 
   assert (0 <= base && base <= 36);
 
+  errno = 0;
   tmp = strtoul (s, &p, base);
   if (errno != 0)
     return UINT_OVERFLOW;