From a3a83fc4b182cb90b6d2c3f69e20c7348bb5c4ff Mon Sep 17 00:00:00 2001 From: krw Date: Wed, 21 Jul 2021 20:26:30 +0000 Subject: [PATCH] A couple of missed 'const'. --- sbin/fdisk/cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index ea9754ce45b..ebd9270d394 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.134 2021/07/21 12:22:54 krw Exp $ */ +/* $OpenBSD: cmd.c,v 1.135 2021/07/21 20:26:30 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -302,7 +302,7 @@ Xedit(char *args, struct mbr *mbr) } int -gsetpid(int pn) +gsetpid(const int pn) { struct uuid gp_type, gp_guid; struct gpt_partition *gg; @@ -346,7 +346,7 @@ gsetpid(int pn) } int -setpid(int pn, struct mbr *mbr) +setpid(const int pn, struct mbr *mbr) { struct prt *pp; -- 2.20.1