Module Name: src
Committed By: rin
Date: Tue Oct 13 09:00:17 UTC 2020
Modified Files:
src/tests/dev/audio: audiotest.c
Log Message:
Argument for AUDIO_WSEEK ioctl is u_long, not int.
Fix false positive for aarch64eb (LP64BE):
AUDIO_WSEEK, failed, Line 4467: n expects 4 but 0
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/dev/audio/audiotest.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/dev/audio/audiotest.c
diff -u src/tests/dev/audio/audiotest.c:1.12 src/tests/dev/audio/audiotest.c:1.13
--- src/tests/dev/audio/audiotest.c:1.12 Fri Jun 26 07:50:12 2020
+++ src/tests/dev/audio/audiotest.c Tue Oct 13 09:00:17 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: audiotest.c,v 1.12 2020/06/26 07:50:12 jruoho Exp $ */
+/* $NetBSD: audiotest.c,v 1.13 2020/10/13 09:00:17 rin Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: audiotest.c,v 1.12 2020/06/26 07:50:12 jruoho Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.13 2020/10/13 09:00:17 rin Exp $");
#include <errno.h>
#include <fcntl.h>
@@ -4430,7 +4430,7 @@ DEF(AUDIO_WSEEK)
struct audio_info ai;
int r;
int fd;
- int n;
+ u_long n;
TEST("AUDIO_WSEEK");