From 55b9f7309f6f49eccd1157e898b77dc9a6afd238 Mon Sep 17 00:00:00 2001 From: Michael West Date: Wed, 19 Jun 2019 13:24:26 -0700 Subject: nirio: Fix typo in nirio_zero_copy Signed-off-by: Michael West --- host/lib/transport/nirio_zero_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp index e72064427..9cd6644f1 100644 --- a/host/lib/transport/nirio_zero_copy.cpp +++ b/host/lib/transport/nirio_zero_copy.cpp @@ -411,7 +411,7 @@ nirio_zero_copy::sptr nirio_zero_copy::make( size_t usr_num_recv_frames = static_cast( hints.cast("num_recv_frames", default_buff_args.num_recv_frames)); size_t usr_recv_buff_size = static_cast( - hints.cast("recv_buff_size", default_buff_args.num_recv_frames)); + hints.cast("recv_buff_size", default_buff_args.recv_buff_size)); if (hints.has_key("recv_buff_size")) { if (usr_recv_buff_size % page_size != 0) { -- cgit v1.2.3