Return to pr.c CVS log | Up to [local] / src / usr.bin / pr |
version 1.41, 2017/12/23 20:53:07 | version 1.42, 2019/06/28 13:35:02 | ||
---|---|---|---|
|
|
||
curtime = time(NULL); | curtime = time(NULL); | ||
timeptr = localtime(&curtime); | timeptr = localtime(&curtime); | ||
} else { | } else { | ||
if (fstat(fileno(inf), &statbuf) < 0) { | if (fstat(fileno(inf), &statbuf) == -1) { | ||
++errcnt; | ++errcnt; | ||
(void)fclose(inf); | (void)fclose(inf); | ||
ferrout("pr: Cannot stat %s, %s\n", | ferrout("pr: Cannot stat %s, %s\n", |