diff --git a/contrib/mdocml/main.c b/contrib/mdocml/main.c index 3c4ff2acc247..2fc2e1eb3f95 100644 --- a/contrib/mdocml/main.c +++ b/contrib/mdocml/main.c @@ -720,7 +720,7 @@ parse(struct curparse *curp, int fd, const char *file) /* Begin by parsing the file itself. */ assert(file); - assert(fd > 0); + assert(fd >= 0); rctmp = mparse_readfd(curp->mp, fd, file); if (fd != STDIN_FILENO)