aboutsummaryrefslogtreecommitdiff
path: root/src/core/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/device.c')
-rw-r--r--src/core/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 24ba5499..68ab2f38 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -1,5 +1,5 @@
//
-// Copyright 2024 Staysail Systems, Inc. <info@staysail.com>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.com>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -60,7 +60,7 @@ device_fini(void *arg)
}
static void
-device_cancel(nni_aio *aio, void *arg, int rv)
+device_cancel(nni_aio *aio, void *arg, nng_err rv)
{
device_data *d = arg;
// cancellation is the only path to shutting it down.