diff options
author | charnier <charnier@FreeBSD.org> | 1997-12-03 07:16:08 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-12-03 07:16:08 +0000 |
commit | 4fb0a742b1c5240b2cad42e221aa28ac18f8afa2 (patch) | |
tree | b28511d60d77bf6230e67126c80e71232c503c81 /libexec/telnetd/state.c | |
parent | 27c596e1ed6ea0fe26b2cf64d9e5a257d92f2d34 (diff) | |
download | FreeBSD-src-4fb0a742b1c5240b2cad42e221aa28ac18f8afa2.zip FreeBSD-src-4fb0a742b1c5240b2cad42e221aa28ac18f8afa2.tar.gz |
Use err(3). Remove progname and trailing \n in syslog strings.
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r-- | libexec/telnetd/state.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 4e72666..6693077 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -29,12 +29,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id$ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)state.c 8.2 (Berkeley) 12/15/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include "telnetd.h" @@ -345,7 +347,7 @@ gotiac: switch (c) { continue; default: - syslog(LOG_ERR, "telnetd: panic state=%d\n", state); + syslog(LOG_ERR, "panic state=%d", state); printf("telnetd: panic state=%d\n", state); exit(1); } |