Fixed typo in comment.
This commit is contained in:
parent
5d730664da
commit
eaee47e755
|
@ -666,7 +666,7 @@ int DRIVE_ReadSuperblock (int drive, char * buff)
|
||||||
struct stat stat_buf;
|
struct stat stat_buf;
|
||||||
|
|
||||||
memset(buff, 0, DRIVE_SUPER);
|
memset(buff, 0, DRIVE_SUPER);
|
||||||
/* O_NONBLOCK in case we're opening FIFO; we'll be reset it later */
|
/* O_NONBLOCK in case we're opening FIFO; will be reset later */
|
||||||
if ((fd = open(DOSDrives[drive].device, O_RDONLY|O_NOCTTY|O_NONBLOCK)) != -1) {
|
if ((fd = open(DOSDrives[drive].device, O_RDONLY|O_NOCTTY|O_NONBLOCK)) != -1) {
|
||||||
if (fstat(fd, &stat_buf) < 0) { /* shouldn't happen since we just opened that file */
|
if (fstat(fd, &stat_buf) < 0) { /* shouldn't happen since we just opened that file */
|
||||||
ERR("fstat() failed for opened device '%s' (drive %c:) ! IT SHOULDN'T HAPPEN !!!\n",
|
ERR("fstat() failed for opened device '%s' (drive %c:) ! IT SHOULDN'T HAPPEN !!!\n",
|
||||||
|
|
Loading…
Reference in New Issue