Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wrappers: tvh_safe_usleep - fix ERRNO_AGAIN call - coverity
  • Loading branch information
perexg committed May 23, 2016
1 parent 1b1686d commit 5269f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrappers.c
Expand Up @@ -282,7 +282,7 @@ tvh_safe_usleep(int64_t us)
do {
r = tvh_usleep(us);
if (r < 0) {
if (ERRNO_AGAIN(r))
if (ERRNO_AGAIN(-r))
continue;
break;
}
Expand Down

0 comments on commit 5269f35

Please sign in to comment.