Skip to content

Commit

Permalink
fix test_uart_loopback: 0 is a valid file descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Jan 3, 2017
1 parent 6fe4883 commit b71e42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systemcmds/tests/test_uart_loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int test_uart_loopback(int argc, char *argv[])
}

if (uart5 < 0) {
if (uart2 > 0) {
if (uart2 >= 0) {
close(uart2);
}

Expand Down

0 comments on commit b71e42e

Please sign in to comment.