mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 15:30:55 +00:00
18 July 2004
+ Minor bug fix
This commit is contained in:
parent
25b5b8a946
commit
a3ff5e63e5
2
dos33.c
2
dos33.c
@ -301,6 +301,8 @@ int dos33_allocate_sector(int fd) {
|
||||
/* We can use to avoid fragmentation possibly */
|
||||
start_track=buffer[VTOC_LAST_ALLOC_T]%TRACKS_PER_DISK;
|
||||
track_dir=buffer[VTOC_ALLOC_DIRECT];
|
||||
|
||||
if (track_dir==255) track_dir=-1;
|
||||
|
||||
if ((track_dir!=1) && (track_dir!=-1))
|
||||
printf("ERROR! Invalid track dir %i\n",track_dir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user