Skip to content

Commit

Permalink
adfMount: warn about an invalid bitmap while mounting.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-w committed Jan 13, 2024
1 parent d1b7130 commit d3da34a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adf_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ PREFIX struct AdfVolume * adfMount ( struct AdfDevice * const dev,
}
}
*/
if ( root.bmFlag != BM_VALID )
adfEnv.wFct ( "adfMount : invalid bitmap on volume '%s'", vol->volName );

vol->curDirPtr = vol->rootBlock;

Expand Down

0 comments on commit d3da34a

Please sign in to comment.