summaryrefslogtreecommitdiff
path: root/fatfs/fat.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-04-19 22:24:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-04-19 22:44:49 +0200
commit8c4b37178c8e7cfcbb37682180c697cb6e55cb34 (patch)
tree314d261e82bce7ec96ec26cab00e9375b6fc7979 /fatfs/fat.c
parentf564f46dad5ccdcb87c7b56d0c58e9afe4ff49f3 (diff)
libdiskfs: Fix catching exceptionsv0.9.git20250420
This fixes making diskfs_catch_exception recursive, catching the last fault exception, and fixes callers.
Diffstat (limited to 'fatfs/fat.c')
-rw-r--r--fatfs/fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatfs/fat.c b/fatfs/fat.c
index f31ce115..e765376d 100644
--- a/fatfs/fat.c
+++ b/fatfs/fat.c
@@ -606,8 +606,8 @@ fat_get_freespace (void)
if (next_cluster == FAT_FREE_CLUSTER)
free_clusters++;
}
+ diskfs_end_catch_exception ();
}
- diskfs_end_catch_exception ();
return free_clusters;
}