From 6aa494c109e1e91310a002726f1e6060cf44f2cd Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 5 Sep 2001 17:05:31 +0000 Subject: atol -> strtoll, for file offset --- usr.sbin/rmt/rmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/rmt/rmt.c b/usr.sbin/rmt/rmt.c index c3e3615..5315208 100644 --- a/usr.sbin/rmt/rmt.c +++ b/usr.sbin/rmt/rmt.c @@ -130,7 +130,7 @@ top: getstring(count); getstring(pos); DEBUG2("rmtd: L %s %s\n", count, pos); - rval = lseek(tape, (off_t)atol(count), atoi(pos)); + rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos)); if (rval < 0) goto ioerror; goto respond; -- cgit v1.1