Skip to content

Commit

Permalink
Work in a one-line change as originally suggested in Unidata#2426.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Jun 28, 2022
1 parent dfc4749 commit 9d44421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/posixio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ posixio_create(const char *path, int ioflags,
#endif
if(fd < 0)
{
status = errno;
status = errno ? errno : ENOENT;
goto unwind_new;
}
*((int *)&nciop->fd) = fd; /* cast away const */
Expand Down

0 comments on commit 9d44421

Please sign in to comment.