From: Jim Meyering Date: Thu, 22 Dec 1994 05:08:40 +0000 (+0000) Subject: (main): Update xstrtol calls to be consistent with new decl. X-Git-Tag: textutils-1_12_1~371 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c141b258dbc832096d057a0eb598ca1cf5b58fb;p=thirdparty%2Fcoreutils.git (main): Update xstrtol calls to be consistent with new decl. --- diff --git a/src/tail.c b/src/tail.c index 87cbc11442..3bbc8de3e2 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;