diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-11-04 17:53:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-11-04 17:53:40 +0100 |
commit | 00b1784c3a3d90e1abac40b6c7de3ebbbb05b6a2 (patch) | |
tree | e6adcc83d6ee5911a9afda553057e308e94bff50 /fstests | |
parent | 988731ac08827482d94db846dd89be67d27f34a9 (diff) | |
download | hurd-00b1784c3a3d90e1abac40b6c7de3ebbbb05b6a2.tar.gz hurd-00b1784c3a3d90e1abac40b6c7de3ebbbb05b6a2.tar.bz2 hurd-00b1784c3a3d90e1abac40b6c7de3ebbbb05b6a2.zip |
More device_get_status count fixes
Diffstat (limited to 'fstests')
-rw-r--r-- | fstests/opendisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fstests/opendisk.c b/fstests/opendisk.c index 0e87b141..a584ce1a 100644 --- a/fstests/opendisk.c +++ b/fstests/opendisk.c @@ -36,9 +36,9 @@ main (int argc, char **argv) mach_port_t hostpriv, devicemaster; mach_port_t device; int sizes[DEV_GET_SIZE_COUNT]; - int sizescnt = DEV_GET_SIZE_COUNT; + mach_msg_type_number_t sizescnt = DEV_GET_SIZE_COUNT; struct disklabel label; - int labelcnt = sizeof label / sizeof (int); + mach_msg_type_number_t labelcnt = sizeof label / sizeof (int); int i; errno = get_privileged_ports (&hostpriv, &devicemaster); |