From b82490a2ad013f83719871923b2a49444b9bdd75 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 5 Jan 1996 00:39:56 +0000 Subject: (diskfs_end_catch_exception): Pass arg to cthread_data. --- libdiskfs/diskfs-pager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') 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); \ }) -- cgit v1.2.3