Corrected size determination of NetBSD block devices

This commit is contained in:
Thomas Schmitt 2014-02-13 20:55:27 +00:00
parent 070ac64459
commit 1d616b5944
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;
return 1;
}
*bytes = i;
*bytes = i + 1;
}
return 0;
}