diff options
Diffstat (limited to 'libmount/src/context_loopdev.c')
-rw-r--r-- | libmount/src/context_loopdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/context_loopdev.c b/libmount/src/context_loopdev.c index f4525b3ad..632a528be 100644 --- a/libmount/src/context_loopdev.c +++ b/libmount/src/context_loopdev.c @@ -143,6 +143,7 @@ int mnt_context_setup_loopdev(struct libmnt_context *cxt) int rc = 0, lo_flags = 0; uint64_t offset = 0, sizelimit = 0; + assert(cxt); assert(cxt->fs); assert((cxt->flags & MNT_FL_MOUNTFLAGS_MERGED)); |