Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 01:03:18 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Subject:   src/usr.sbin/mixer patch
Message-ID:  <200106250503.f5P53Im91660@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
I would appreciate it if someone would review and commit the patch at
the end of this message.  Also available at:
http://testbed.q9media.net/freebsd/mixer.20010625.patch


Best regards,
Mike Barcroft

-----------------------------------------------------------------------

mixer.20010625.patch

o Fix minor compiler warning and set WARNS?=2.


Index: mixer/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/mixer/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- mixer/Makefile	2001/03/26 14:40:48	1.8
+++ mixer/Makefile	2001/06/25 04:46:01
@@ -1,6 +1,7 @@
 # $FreeBSD: src/usr.sbin/mixer/Makefile,v 1.8 2001/03/26 14:40:48 ru Exp $
 
-PROG = mixer
+PROG=	mixer
+WARNS?=	2
 MAN=	mixer.8
 
 .include <bsd.prog.mk>
Index: mixer/mixer.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/mixer/mixer.c,v
retrieving revision 1.15
diff -u -r1.15 mixer.c
--- mixer/mixer.c	2001/04/09 11:10:34	1.15
+++ mixer/mixer.c	2001/06/25 04:46:01
@@ -24,7 +24,7 @@
 #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);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250503.f5P53Im91660>