summaryrefslogtreecommitdiff
path: root/libdiskfs/io-map-cntl.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-06-19 21:20:57 +0200
committerJustus Winter <justus@gnupg.org>2017-08-05 18:42:22 +0200
commit835b293d35a209d38047126443d41fa7090daa4c (patch)
tree5bf956895e6030f91cd618fb191b2151f6d25423 /libdiskfs/io-map-cntl.c
parentdc0b5a43224999223a246870912b0f292b1980e9 (diff)
Use our own variant of 'assert' and 'assert_perror'.
Our variants print stack traces on failures. This will make locating errors much easier.
Diffstat (limited to 'libdiskfs/io-map-cntl.c')
-rw-r--r--libdiskfs/io-map-cntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-map-cntl.c b/libdiskfs/io-map-cntl.c
index 2e9b9e98..4a9b1f61 100644
--- a/libdiskfs/io-map-cntl.c
+++ b/libdiskfs/io-map-cntl.c
@@ -28,7 +28,7 @@ diskfs_S_io_map_cntl (struct protid *cred,
if (!cred)
return EOPNOTSUPP;
- assert (__vm_page_size >= sizeof (struct shared_io));
+ assert_backtrace (__vm_page_size >= sizeof (struct shared_io));
pthread_mutex_lock (&cred->po->np->lock);
if (!cred->mapped)
{