Constify and set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
This commit is contained in:
Dima Dorfman 2001-07-15 05:44:23 +00:00
parent 086ad217b2
commit 8b032500b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79748
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= reboot
WARNS?= 2
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= reboot.8 boot_i386.8

View File

@ -70,7 +70,8 @@ main(int argc, char *argv[])
struct passwd *pw;
int ch, howto, i, lflag, nflag, qflag, pflag, sverrno;
u_int pageins;
char *p, *user;
char *p;
const char *user;
if (strstr((p = rindex(*argv, '/')) ? p + 1 : *argv, "halt")) {
dohalt = 1;