summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ttymon/tmhandler.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-19 18:56:12 +0000
committerJohn Levon <john.levon@joyent.com>2019-02-12 16:20:57 +0000
commit2756274fa95226a2638604ba310268a09e4f4744 (patch)
tree02eb246ddd902f6b0f5043759c82219a2b8b503e /usr/src/cmd/ttymon/tmhandler.c
parente83359656fe4880d77df4da075573820c2a7adc0 (diff)
downloadillumos-gate-2756274fa95226a2638604ba310268a09e4f4744.tar.gz
10143 smatch fix for ttymon
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/ttymon/tmhandler.c')
-rw-r--r--usr/src/cmd/ttymon/tmhandler.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/cmd/ttymon/tmhandler.c b/usr/src/cmd/ttymon/tmhandler.c
index b91b198c43..bd7932f7b6 100644
--- a/usr/src/cmd/ttymon/tmhandler.c
+++ b/usr/src/cmd/ttymon/tmhandler.c
@@ -25,9 +25,9 @@
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-
-
-#pragma ident "%Z%%M% %I% %E% SMI"
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
#include <stdlib.h>
@@ -633,10 +633,7 @@ int signo;
* that are not needed any more.
*/
static void
-pcsync_close(p0, p1, pid, fd)
-int *p0;
-int *p1;
-int pid;
+pcsync_close(int *p0, int *p1, int pid, int fd)
{
char ch;