version 1.16, 2003/09/14 19:20:20 |
version 1.17, 2009/02/14 07:13:40 |
|
|
pos_out(void) |
pos_out(void) |
{ |
{ |
struct mtop t_op; |
struct mtop t_op; |
int cnt, n; |
int n; |
|
uint64_t cnt; |
|
|
/* |
/* |
* If not a tape, try seeking on the file. Seeking on a pipe is |
* If not a tape, try seeking on the file. Seeking on a pipe is |
|
|
/* NOTREACHED */ |
/* NOTREACHED */ |
|
|
while (cnt++ < out.offset) |
while (cnt++ < out.offset) |
if ((n = bwrite(out.fd, out.db, out.dbsz)) != out.dbsz) |
if ((uint64_t)(n = bwrite(out.fd, out.db, out.dbsz)) != out.dbsz) |
err(EXIT_FAILURE, "%s", out.name); |
err(EXIT_FAILURE, "%s", out.name); |
/* NOTREACHED */ |
/* NOTREACHED */ |
break; |
break; |