diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-03-16 17:03:14 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-03-16 17:03:14 +0000 |
commit | dce762d7f9f42d4fffdfece21e7b56e5d750ec13 (patch) | |
tree | 191c482acc7ca157c4c77e5a2cb6f14ddd775207 /sbin/fdisk/gpt.c | |
parent | e56c9e28c319bd905c079725f1475ae2a7f98fcd (diff) |
The 'status' parameter to uuid_* functions is uint32_t, not int.
No intentional functional change.
Diffstat (limited to 'sbin/fdisk/gpt.c')
-rw-r--r-- | sbin/fdisk/gpt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fdisk/gpt.c b/sbin/fdisk/gpt.c index dac474b8544..d802d7ae55b 100644 --- a/sbin/fdisk/gpt.c +++ b/sbin/fdisk/gpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpt.c,v 1.60 2022/03/15 17:59:39 krw Exp $ */ +/* $OpenBSD: gpt.c,v 1.61 2022/03/16 17:03:13 krw Exp $ */ /* * Copyright (c) 2015 Markus Muller <mmu@grummel.net> * Copyright (c) 2015 Kenneth R Westerback <krw@openbsd.org> @@ -307,7 +307,8 @@ GPT_print(const char *units, const int verbosity) const int secsize = dl.d_secsize; char *guidstr = NULL; double size; - int i, status; + int i; + uint32_t status; #ifdef DEBUG char *p; @@ -392,7 +393,7 @@ GPT_print_part(const int n, const char *units, const int verbosity) char *guidstr = NULL; double size; uint64_t sectors; - int status; + uint32_t status; uuid_dec_le(&partn->gp_type, &guid); sectors = letoh64(partn->gp_lba_end) - letoh64(partn->gp_lba_start) + 1; |