Fix compile warning with OSF

This commit is contained in:
Glenn L McGrath 2002-12-08 11:51:05 +00:00
parent e167d69309
commit 35631a6e00

View File

@ -1007,7 +1007,7 @@ check_osf_label(void) {
static void xbsd_print_disklabel(int); static void xbsd_print_disklabel(int);
static int static int
btrydev (char * dev) { btrydev (const char * dev) {
if (xbsd_readlabel (NULL, &xbsd_dlabel) == 0) if (xbsd_readlabel (NULL, &xbsd_dlabel) == 0)
return -1; return -1;
printf(_("\nBSD label for device: %s\n"), dev); printf(_("\nBSD label for device: %s\n"), dev);