From 073c15057d75cd21269939aa33248b507506c126 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Thu, 21 Jul 2011 10:05:03 -0700 Subject: [PATCH] Work around ambiguity in .L protocol (issue 69) --- tests/misc/tserialize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/misc/tserialize.c b/tests/misc/tserialize.c index a4deafc2..c7937277 100644 --- a/tests/misc/tserialize.c +++ b/tests/misc/tserialize.c @@ -650,7 +650,7 @@ test_tlock (void) { Npfcall *fc, *fc2; - if (!(fc = np_create_tlock (1, 2, 3, 4, 5, 6, "xyz"))) + if (!(fc = np_create_tlock (1, F_UNLCK, 3, 4, 5, 6, "xyz"))) msg_exit ("out of memory"); fc2 = _rcv_buf (fc, P9_TLOCK, __FUNCTION__); @@ -685,7 +685,7 @@ test_tgetlock (void) { Npfcall *fc, *fc2; - if (!(fc = np_create_tgetlock (1, 2, 3, 4, 5, "xyz"))) + if (!(fc = np_create_tgetlock (1, F_UNLCK, 3, 4, 5, "xyz"))) msg_exit ("out of memory"); fc2 = _rcv_buf (fc, P9_TGETLOCK, __FUNCTION__); @@ -705,7 +705,7 @@ test_rgetlock (void) { Npfcall *fc, *fc2; - if (!(fc = np_create_rgetlock (1, 2, 3, 4, "xyz"))) + if (!(fc = np_create_rgetlock (F_WRLCK, 2, 3, 4, "xyz"))) msg_exit ("out of memory"); fc2 = _rcv_buf (fc, P9_RGETLOCK, __FUNCTION__);