Date: Sun, 29 Jan 2017 07:32:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216568] SNDCTL_DSP_GETERROR always fails with -m32 on 64bit system Message-ID: <bug-216568-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216568 Bug ID: 216568 Summary: SNDCTL_DSP_GETERROR always fails with -m32 on 64bit system Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org $ cat >a.c #include <sys/soundcard.h> #include <sys/ioctl.h> #include <fcntl.h> #include <err.h> int main() { int fd =3D open("/dev/dsp", O_RDWR, 0); audio_errinfo ei; if (ioctl(fd, SNDCTL_DSP_GETERROR, &ei) < 0) err(1, "SNDCTL_DSP_GETERROR"); return 0; } $ cc -o foo a.c $ cc -m32 -o bar a.c $ ./foo $ ./bar bar: SNDCTL_DSP_GETERROR: Invalid argument --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216568-8>