From 35631a6e00a86c2d299266b50c79a0ee82b2e081 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 8 Dec 2002 11:51:05 +0000 Subject: Fix compile warning with OSF --- util-linux/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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); -- cgit v1.1