]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: (python) fix compiler warning
authorKarel Zak <kzak@redhat.com>
Wed, 17 Feb 2021 11:25:49 +0000 (12:25 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 17 Feb 2021 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/python/context.c

index 6e3ffcb397c216e3a70aa8a3bc56f048675fbbd0..353a893f53cf5fb2e93f39a571a929f91e08771e 100644 (file)
@@ -1179,7 +1179,7 @@ PyTypeObject ContextType = {
        sizeof(ContextObjext), /*tp_basicsize*/
        0, /*tp_itemsize*/
        (destructor)Context_dealloc, /*tp_dealloc*/
-       NULL, /*tp_print*/
+       0, /*tp_print*/
        NULL, /*tp_getattr*/
        NULL, /*tp_setattr*/
        NULL, /*tp_compare*/