atol -> strtoll, for file offset

This commit is contained in:
ache 2001-09-05 17:05:31 +00:00
parent c05780a8fc
commit 6aa494c109

View File

@ -130,7 +130,7 @@ main(argc, argv)
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;