diff options
-rw-r--r-- | libdiskfs/diskfs-pager.h | 2 |
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); \ }) |