Skip to content

Commit 6713a92

Browse files
committed
librtas: use CALL_AGAIN for delay related return in handle_delay()
The delay related return value of handle_delay() is hard coded. For clarity use CALL_AGAIN macro which is documented return value in the function comment header. Signed-off-by: Tyrel Datwyler <[email protected]>
1 parent 7547c09 commit 6713a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

librtas_src/syscall_calls.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ unsigned int handle_delay(int status, uint64_t * elapsed)
9494

9595
dbg("Return status %d, delaying for %lu ms\n", status, ms);
9696
usleep(ms * 1000);
97-
return 1;
97+
return CALL_AGAIN;
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)