summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs-pager.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-05 00:39:56 +0000
committerRoland McGrath <roland@gnu.org>1996-01-05 00:39:56 +0000
commitb82490a2ad013f83719871923b2a49444b9bdd75 (patch)
treed2548421dfe9799ed844922df4626166060ff5fa /libdiskfs/diskfs-pager.h
parentb93904a94f55b6e877428de7cc949b9b37a661f4 (diff)
(diskfs_end_catch_exception): Pass arg to cthread_data.
Diffstat (limited to 'libdiskfs/diskfs-pager.h')
-rw-r--r--libdiskfs/diskfs-pager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/diskfs-pager.h b/libdiskfs/diskfs-pager.h
index 7b2463b3..cde9d811 100644
--- a/libdiskfs/diskfs-pager.h
+++ b/libdiskfs/diskfs-pager.h
@@ -54,7 +54,7 @@ extern void *disk_image; /* Region mapping entire disk from it. */
Any unexpected fault hereafter will crash the program. */
#define diskfs_end_catch_exception() \
({ \
- assert (cthread_data () != 0); \
+ assert (cthread_data (cthread_self ()) != 0); \
cthread_set_data (cthread_self (), 0); \
})