diff options
author | jdp <jdp@FreeBSD.org> | 1998-11-11 01:53:12 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-11-11 01:53:12 +0000 |
commit | f42dae09fb160c2bbc929132294e3fed6a41f658 (patch) | |
tree | bf83d370b92df7c4988a44937af30535b65494dc /usr.bin | |
parent | 7e4e43c513269df497a80cb7e6b5fd3a97621fc7 (diff) | |
download | FreeBSD-src-f42dae09fb160c2bbc929132294e3fed6a41f658.zip FreeBSD-src-f42dae09fb160c2bbc929132294e3fed6a41f658.tar.gz |
Fix a const-related compiler warning.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/login/login.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index fc36cb0..6cfaa95 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -42,7 +42,7 @@ static char copyright[] = static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; #endif static const char rcsid[] = - "$Id: login.c,v 1.38 1998/08/17 03:25:07 jkoshy Exp $"; + "$Id: login.c,v 1.39 1998/10/09 06:36:22 markm Exp $"; #endif /* not lint */ /* @@ -160,7 +160,8 @@ main(argc, argv) int changepass; time_t warntime; uid_t uid, euid; - char *domain, *p, *ep, *salt, *ttyn; + char *domain, *p, *salt, *ttyn; + const char *ep; char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10]; char localhost[MAXHOSTNAMELEN]; char *shell = NULL; |