Skip to content

Commit

Permalink
Work around ambiguity in .L protocol (issue 69)
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Jul 21, 2011
1 parent b4f33c1 commit 073c150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/misc/tserialize.c
Expand Up @@ -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__);

Expand Down Expand Up @@ -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__);

Expand All @@ -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__);

Expand Down

0 comments on commit 073c150

Please sign in to comment.