Fix syntax error

This commit is contained in:
Pasi Kallinen
2017-08-19 13:40:47 +03:00
parent a552956f7a
commit d1c1fd5faf

View File

@@ -3111,7 +3111,7 @@ const char *dir UNUSED_if_not_OS2_CODEVIEW;
#else
fd = open(fq_record, O_CREAT | O_RDWR, S_IREAD | S_IWRITE);
#endif
if (fd = < 0) {
if (fd <= 0) {
raw_printf("Warning: cannot write record '%s'", tmp);
wait_synch();
} else {