aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/fdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index ea8400cba..3072f7570 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -1007,7 +1007,7 @@ check_osf_label(void) {
static void xbsd_print_disklabel(int);
static int
-btrydev (char * dev) {
+btrydev (const char * dev) {
if (xbsd_readlabel (NULL, &xbsd_dlabel) == 0)
return -1;
printf(_("\nBSD label for device: %s\n"), dev);