-/* $Id: main.c,v 1.262 2016/01/08 02:53:13 schwarze Exp $ */
+/* $Id: main.c,v 1.263 2016/01/16 22:30:33 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze <schwarze@openbsd.org>
/* 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)