diff --git a/usr.sbin/mixer/Makefile b/usr.sbin/mixer/Makefile index 0beb1c7c0c36..e50fe00a399e 100644 --- a/usr.sbin/mixer/Makefile +++ b/usr.sbin/mixer/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -PROG = mixer +PROG= mixer +WARNS?= 2 MAN= mixer.8 .include diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 9264c76f005f..68cb40efee5e 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -24,7 +24,7 @@ static const char rcsid[] = #include #include -char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; +const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; void usage(int devmask, int recmask); int res_name(const char *name, int mask);