From 1d616b59441fd7e4889d059468793c7e04459a29 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 13 Feb 2014 20:55:27 +0000 Subject: [PATCH] Corrected size determination of NetBSD block devices --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sg-netbsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index c844ec7..8a13169 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2014.02.10.213500" +#define Cdrskin_timestamP "2014.02.13.205358" diff --git a/libburn/sg-netbsd.c b/libburn/sg-netbsd.c index 4a0ea9d..68e7e04 100644 --- a/libburn/sg-netbsd.c +++ b/libburn/sg-netbsd.c @@ -354,7 +354,7 @@ static int guess_size_by_seek_set(int fd, off_t *bytes, int flag) continue; return 1; } - *bytes = i; + *bytes = i + 1; } return 0; }