summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/fdisk/fdisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 6e9887f2d9a..e4af09328f3 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.128 2021/07/21 12:22:54 krw Exp $ */
+/* $OpenBSD: fdisk.c,v 1.129 2021/07/22 18:54:17 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -64,9 +64,9 @@ main(int argc, char *argv[])
{
struct mbr mbr;
#ifdef HAS_MBR
- char *mbrfile = _PATH_MBR;
+ const char *mbrfile = _PATH_MBR;
#else
- char *mbrfile = NULL;
+ const char *mbrfile = NULL;
#endif
int ch, error;
int e_flag = 0, g_flag = 0, i_flag = 0, u_flag = 0;