aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/transport.h')
-rw-r--r--src/sp/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/transport.h b/src/sp/transport.h
index 976068c8..1c9f930b 100644
--- a/src/sp/transport.h
+++ b/src/sp/transport.h
@@ -180,7 +180,7 @@ struct nni_sp_pipe_ops {
// p_getopt is used to obtain an option. Pipes don't implement
// option setting.
- int (*p_getopt)(void *, const char *, void *, size_t *, nni_type);
+ nng_err (*p_getopt)(void *, const char *, void *, size_t *, nni_type);
};
// Transport implementation details. Transports must implement the