Fix compile warning with OSF
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 8 Dec 2002 11:51:05 +0000 (11:51 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 8 Dec 2002 11:51:05 +0000 (11:51 -0000)
util-linux/fdisk.c

index ea8400cba5dd75cfbd42ef43ce0f4a82c13e5301..3072f757090034a892cf2d5e1074617e9915ce4c 100644 (file)
@@ -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);