Blame SOURCES/bsd-finger-0.16-pts.patch

c7b137
--- bsd-finger-0.16/finger/util.c.pts	Tue Sep 28 18:53:58 1999
c7b137
+++ bsd-finger-0.16/finger/util.c	Tue Dec 21 14:12:56 1999
c7b137
@@ -71,8 +71,13 @@
c7b137
 	}
c7b137
 	snprintf(tbuf, TBUFLEN, "%s/%s", _PATH_DEV, w->tty);
c7b137
 	if (stat(tbuf, &sb) < 0) {
c7b137
+	    switch (errno) {
c7b137
+	    case ENOENT:
c7b137
+		break;
c7b137
+	    default:
c7b137
 		eprintf("finger: %s: %s\n", tbuf, strerror(errno));
c7b137
 		return;
c7b137
+	    }
c7b137
 	}
c7b137
 	w->idletime = now < sb.st_atime ? 0 : now - sb.st_atime;
c7b137