From d3da34a0b19b02f6e51a727dae4dab2dc13fc5e9 Mon Sep 17 00:00:00 2001 From: t-m Date: Sat, 13 Jan 2024 20:58:12 +0100 Subject: [PATCH] adfMount: warn about an invalid bitmap while mounting. --- src/adf_vol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/adf_vol.c b/src/adf_vol.c index b7c72e9d..728c0184 100644 --- a/src/adf_vol.c +++ b/src/adf_vol.c @@ -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;