diff options
author | Jim Meyering <jim@meyering.net> | 1994-12-22 05:08:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-12-22 05:08:40 +0000 |
commit | 7c141b258dbc832096d057a0eb598ca1cf5b58fb (patch) | |
tree | fb1d627f5902b1c63bd85fa2c45839ac2788dd18 /src | |
parent | 2999aefb844fc756bb77af1965807d28978f7622 (diff) | |
download | coreutils-7c141b258dbc832096d057a0eb598ca1cf5b58fb.tar.xz |
(main): Update xstrtol calls to be consistent with new decl.
Diffstat (limited to 'src')
-rw-r--r-- | src/tail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tail.c b/src/tail.c index 87cbc1144..3bbc8de3e 100644 --- a/src/tail.c +++ b/src/tail.c @@ -179,7 +179,7 @@ main (argc, argv) strtol_error s_err; char *p; - s_err = xstrtol (++argv[1], &p, 0, &tmp_long, 1); + s_err = xstrtol (++argv[1], &p, 0, &tmp_long, "bkm"); n_units = tmp_long; if (s_err == LONGINT_OVERFLOW) { @@ -249,7 +249,7 @@ main (argc, argv) from_start = 1; } - s_err = xstrtol (optarg, NULL, 0, &tmp_long, 1); + s_err = xstrtol (optarg, NULL, 0, &tmp_long, "bkm"); if (tmp_long < 0) tmp_long = -tmp_long; n_units = tmp_long; |