summaryrefslogtreecommitdiff
path: root/lib9p/9p.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-01-19 15:32:10 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-01-19 15:43:56 -0700
commit0ab9da9bc3c6cdaef00b7202ba03eff917b44c95 (patch)
tree9b5a167833b9caa4f8f829c9bc7a3711a1cd837a /lib9p/9p.c
parentabc16ce9b5ba132769e14b4b3d649d79a92effc3 (diff)
lib9p: Use <libmisc/endian.h>
Diffstat (limited to 'lib9p/9p.c')
-rw-r--r--lib9p/9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/9p.c b/lib9p/9p.c
index 5bea9f9..51ff2eb 100644
--- a/lib9p/9p.c
+++ b/lib9p/9p.c
@@ -125,7 +125,7 @@ ssize_t _lib9p_validate(uint8_t xxx_low_typ_bit,
/* Inspect the first 5 bytes ourselves. */
struct _validate_ctx subctx = {
.ctx = ctx,
- .net_size = decode_u32le(net_bytes),
+ .net_size = uint32le_decode(net_bytes),
.net_bytes = net_bytes,
.net_offset = 0,