diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 12:49:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 12:49:22 +0000 |
commit | 1385899416a4396385ad421ae1f532be7103738a (patch) | |
tree | fc4d14a910593d1235318bb36abe5e9f72d2039e /util-linux/mount.c | |
parent | 5625415085e68ac5e150f54e685417c866620d76 (diff) | |
download | busybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.gz busybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.bz2 busybox-w32-1385899416a4396385ad421ae1f532be7103738a.zip |
attempt to regularize atoi mess.
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 141517ba0..531fb4520 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -856,7 +856,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts) | |||
856 | for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) { | 856 | for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) { |
857 | char *opteq = strchr(opt, '='); | 857 | char *opteq = strchr(opt, '='); |
858 | if (opteq) { | 858 | if (opteq) { |
859 | int val = atoi(opteq + 1); | 859 | int val = xatoi_u(opteq + 1); |
860 | *opteq = '\0'; | 860 | *opteq = '\0'; |
861 | if (!strcmp(opt, "rsize")) | 861 | if (!strcmp(opt, "rsize")) |
862 | data.rsize = val; | 862 | data.rsize = val; |