aboutsummaryrefslogtreecommitdiff
path: root/pfinet/pfinet-ops.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-12-29 11:12:09 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-29 17:40:46 +0100
commit2c1299afbed9bc78e2d92565c334317622a68f01 (patch)
tree5c067c062391ca2a10be6daf8a0b3bcc7ea688ea /pfinet/pfinet-ops.c
parent6b494f5e7599ece2ca981472d690db3df3133bde (diff)
downloadhurd-2c1299afbed9bc78e2d92565c334317622a68f01.tar.gz
hurd-2c1299afbed9bc78e2d92565c334317622a68f01.tar.bz2
hurd-2c1299afbed9bc78e2d92565c334317622a68f01.zip
pfinet and pci-arbiter: update server handlers to return kern_return_t to fix -Werror=enum-int-mismatch warnings
Message-ID: <20231229161211.312389-1-flaviocruz@gmail.com>
Diffstat (limited to 'pfinet/pfinet-ops.c')
-rw-r--r--pfinet/pfinet-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pfinet/pfinet-ops.c b/pfinet/pfinet-ops.c
index 29c9a65c..fab57570 100644
--- a/pfinet/pfinet-ops.c
+++ b/pfinet/pfinet-ops.c
@@ -47,7 +47,7 @@ extern int dev_ifconf(char *arg);
/* Return the list of devices in the format provided by SIOCGIFCONF
in IFR, but don't return more then AMOUNT bytes. If AMOUNT is
negative, there is no limit. */
-error_t
+kern_return_t
S_pfinet_siocgifconf (io_t port,
vm_size_t amount,
data_t *ifr,
@@ -118,7 +118,7 @@ get_routing_table(int start, int count, ifrtreq_t *routes)
/* Return the routing table as a series of ifrtreq_t structs
in routes, but don't return more then AMOUNT number of them.
If AMOUNT is -1, we get the full table. */
-error_t
+kern_return_t
S_pfinet_getroutes (io_t port,
vm_size_t amount,
data_t *routes,