atol -> strtoll, for file offset
This commit is contained in:
parent
cfe6cb9694
commit
5d078bb36b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83096
@ -130,7 +130,7 @@ main(argc, argv)
|
|||||||
getstring(count);
|
getstring(count);
|
||||||
getstring(pos);
|
getstring(pos);
|
||||||
DEBUG2("rmtd: L %s %s\n", count, 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)
|
if (rval < 0)
|
||||||
goto ioerror;
|
goto ioerror;
|
||||||
goto respond;
|
goto respond;
|
||||||
|
Loading…
Reference in New Issue
Block a user