Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libutil/ttyaction.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -p -r1.12 -r1.13 --- src/lib/libutil/ttyaction.c 1999/09/16 11:45:51 1.12 +++ src/lib/libutil/ttyaction.c 1999/09/20 04:48:10 1.13 @@ -1,4 +1,4 @@ -/* $NetBSD: ttyaction.c,v 1.12 1999/09/16 11:45:51 lukem Exp $ */ +/* $NetBSD: ttyaction.c,v 1.13 1999/09/20 04:48:10 lukem Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -84,10 +84,6 @@ ttyaction(tty, act, user) _DIAGASSERT(tty != NULL); _DIAGASSERT(act != NULL); _DIAGASSERT(user != NULL); -#ifdef _DIAGNOSTIC - if (tty == NULL || act == NULL || user == NULL) - return 0; -#endif fp = fopen(actfile, "r"); if (fp == NULL)