summaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk.c')
-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 ea8400c..3072f75 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);