Corrected size determination of NetBSD block devices

This commit is contained in:
Thomas Schmitt 2014-02-13 20:55:27 +00:00
parent ce8ba27a2f
commit 2408fe77ab
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2014.02.10.213500" #define Cdrskin_timestamP "2014.02.13.205358"

View File

@ -354,7 +354,7 @@ static int guess_size_by_seek_set(int fd, off_t *bytes, int flag)
continue; continue;
return 1; return 1;
} }
*bytes = i; *bytes = i + 1;
} }
return 0; return 0;
} }