summaryrefslogtreecommitdiffstats
path: root/disk-utils/resizepart.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/resizepart.c')
-rw-r--r--disk-utils/resizepart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/disk-utils/resizepart.c b/disk-utils/resizepart.c
index 5c6c0497a..97533e26f 100644
--- a/disk-utils/resizepart.c
+++ b/disk-utils/resizepart.c
@@ -70,9 +70,9 @@ int main(int argc, char **argv)
uint64_t start;
static const struct option longopts[] = {
- {"help", no_argument, 0, 'h'},
- {"version", no_argument, 0, 'V'},
- {NULL, no_argument, 0, '0'},
+ {"help", no_argument, NULL, 'h'},
+ {"version", no_argument, NULL, 'V'},
+ {NULL, 0, NULL, '0'},
};
setlocale(LC_ALL, "");