parent
8fbedb87f5
commit
33ce39ff71
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ main(int argc, char *argv[])
|
|||
nfc_exit(context);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if ((fd4 = fdopen(4, "r")) == NULL) {
|
||||
if ((fd4 = fdopen(4, "w")) == NULL) {
|
||||
ERR("Could not open file descriptor 4");
|
||||
nfc_exit(context);
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in a new issue