Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/dev/audio Argument for AUDIO_WSEEK ioctl is u_long, no...
details: https://anonhg.NetBSD.org/src/rev/1ad2b0848dc3
branches: trunk
changeset: 944841:1ad2b0848dc3
user: rin <rin%NetBSD.org@localhost>
date: Tue Oct 13 09:00:17 2020 +0000
description:
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
diffstat:
tests/dev/audio/audiotest.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 11cb00f9026a -r 1ad2b0848dc3 tests/dev/audio/audiotest.c
--- a/tests/dev/audio/audiotest.c Tue Oct 13 07:12:00 2020 +0000
+++ b/tests/dev/audio/audiotest.c Tue Oct 13 09:00:17 2020 +0000
@@ -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 @@
struct audio_info ai;
int r;
int fd;
- int n;
+ u_long n;
TEST("AUDIO_WSEEK");
Home |
Main Index |
Thread Index |
Old Index