From 3b097978c147d6e98f02e7b2d31e75a36e36338f Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 18 Dec 2022 12:21:27 -0500 Subject: Use long_natural_t for recnum_t For 64 bits, device operations will provide an addressing space of 64 bits. Also define the translation functions if long_natural_t or long_integer_t are ever used in RPCs. Note that MIG does not implicitly inherit the translation functions from types hence the need to redefine them for recnum_t. Message-Id: --- device/subrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/subrs.c') diff --git a/device/subrs.c b/device/subrs.c index be710132..7a56f4b7 100644 --- a/device/subrs.c +++ b/device/subrs.c @@ -42,7 +42,7 @@ */ void harderr(const io_req_t ior, const char *cp) { - printf("%s%d%c: hard error sn%d ", + printf("%s%d%c: hard error sn%lu ", cp, minor(ior->io_unit) >> 3, 'a' + (minor(ior->io_unit) & 0x7), -- cgit v1.2.3