summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-08 11:51:05 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-08 11:51:05 +0000
commit35631a6e00a86c2d299266b50c79a0ee82b2e081 (patch)
treee32385347dbfb4a50adb52a321d6798540d79361 /util-linux
parente167d69309b8f8123550cf3ba58690b1907687d6 (diff)
Fix compile warning with OSF
Diffstat (limited to 'util-linux')
-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);