summaryrefslogtreecommitdiffstats
path: root/lib/libutil/logwtmp.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-09-04 22:38:59 +0000
committerpst <pst@FreeBSD.org>1997-09-04 22:38:59 +0000
commit930fa4a4383c1260c42a0b5ae7981c9b1471552d (patch)
treefe47524e8384e93ce197dd4c16083ff927e7b7f3 /lib/libutil/logwtmp.c
parentd1685a9fcc6f0e406336b0ac105056b84d1ba470 (diff)
downloadFreeBSD-src-930fa4a4383c1260c42a0b5ae7981c9b1471552d.zip
FreeBSD-src-930fa4a4383c1260c42a0b5ae7981c9b1471552d.tar.gz
The parameters to logwtmp should be const char's
Diffstat (limited to 'lib/libutil/logwtmp.c')
-rw-r--r--lib/libutil/logwtmp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c
index c0357b2..de3c5d6 100644
--- a/lib/libutil/logwtmp.c
+++ b/lib/libutil/logwtmp.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: logwtmp.c,v 1.4 1997/08/13 20:42:18 steve Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -55,7 +55,9 @@ static const char rcsid[] =
void
logwtmp(line, name, host)
- char *line, *name, *host;
+ const char *line;
+ const char *name;
+ const char *host;
{
struct utmp ut;
struct stat buf;
OpenPOWER on IntegriCloud