summaryrefslogtreecommitdiffstats
path: root/libfdisk/samples/mkpart.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/samples/mkpart.c')
-rw-r--r--libfdisk/samples/mkpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/samples/mkpart.c b/libfdisk/samples/mkpart.c
index 1e5fd99..766e751 100644
--- a/libfdisk/samples/mkpart.c
+++ b/libfdisk/samples/mkpart.c
@@ -39,7 +39,7 @@
static int ask_callback(struct fdisk_context *cxt __attribute__((__unused__)),
struct fdisk_ask *ask,
- void *data)
+ void *data __attribute__((unused)))
{
switch(fdisk_ask_get_type(ask)) {
case FDISK_ASKTYPE_INFO: