Skip to content

Commit

Permalink
display OS error message when (not) sending command
Browse files Browse the repository at this point in the history
  • Loading branch information
wertarbyte committed Aug 17, 2016
1 parent 0328360 commit 39441d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion th-cmd.c
Expand Up @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
err = 1;
}
if (err != 0) {
fprintf( stderr, "Error sending command\n");
perror("send_command");
}
}
close(s);
Expand Down

0 comments on commit 39441d8

Please sign in to comment.