diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2021-07-21 20:26:31 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2021-07-21 20:26:31 +0000 |
commit | 102f498c98d327df16d9ac6d867df1b3d3a0e123 (patch) | |
tree | ec8a1d056d9b09ad4d54a759d46042395dd2aec7 /sbin/fdisk/cmd.c | |
parent | e726dbacd364fda957d18f427ed7d46dd68847cd (diff) |
A couple of missed 'const'.
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r-- | sbin/fdisk/cmd.c | 6 |
1 files 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; |