diff options
author | sos <sos@FreeBSD.org> | 2000-01-24 20:29:42 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-01-24 20:29:42 +0000 |
commit | ff67a728896198b2e1e203c6b280755f7bdcd480 (patch) | |
tree | b9e37acda58ee16c71336c7748b7e553e58c1022 /usr.sbin | |
parent | 15376e5b0cd969a2ab627db2c697f40dd6709c51 (diff) | |
download | FreeBSD-src-ff67a728896198b2e1e203c6b280755f7bdcd480.zip FreeBSD-src-ff67a728896198b2e1e203c6b280755f7bdcd480.tar.gz |
Update to keep track of next_writeable in userland.
Recompile both kernel & burncd !!
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/burncd/burncd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c index 493e14d..d7d4984 100644 --- a/usr.sbin/burncd/burncd.c +++ b/usr.sbin/burncd/burncd.c @@ -151,7 +151,7 @@ main(int argc, char **argv) fprintf(stderr, "writing from file %s size %d KB\n", argv[arg], stat.st_size / 1024); } - lseek(fd, 0, SEEK_SET); + lseek(fd, addr * block_size, SEEK_SET); size = 0; while ((count = read(file, buf, block_size * BLOCKS)) > 0) { |