diff options
Diffstat (limited to 'usr.sbin/mixer')
-rw-r--r-- | usr.sbin/mixer/Makefile | 3 | ||||
-rw-r--r-- | usr.sbin/mixer/mixer.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mixer/Makefile b/usr.sbin/mixer/Makefile index 0beb1c7..e50fe00 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 <bsd.prog.mk> diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 9264c76..68cb40e 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -24,7 +24,7 @@ static const char rcsid[] = #include <unistd.h> #include <sys/soundcard.h> -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); |