Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libossaudio libossaudio: return newfd here as we return ...
details: https://anonhg.NetBSD.org/src/rev/425b8c26be97
branches: trunk
changeset: 1015493:425b8c26be97
user: roy <roy%NetBSD.org@localhost>
date: Sat Oct 24 14:43:53 2020 +0000
description:
libossaudio: return newfd here as we return retval elsewhere
diffstat:
lib/libossaudio/ossaudio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 55002b69001b -r 425b8c26be97 lib/libossaudio/ossaudio.c
--- a/lib/libossaudio/ossaudio.c Sat Oct 24 14:21:25 2020 +0000
+++ b/lib/libossaudio/ossaudio.c Sat Oct 24 14:43:53 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ossaudio.c,v 1.57 2020/10/23 12:13:04 wiz Exp $ */
+/* $NetBSD: ossaudio.c,v 1.58 2020/10/24 14:43:53 roy Exp $ */
/*-
* Copyright (c) 1997, 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: ossaudio.c,v 1.57 2020/10/23 12:13:04 wiz Exp $");
+__RCSID("$NetBSD: ossaudio.c,v 1.58 2020/10/24 14:43:53 roy Exp $");
/*
* This is an Open Sound System compatibility layer, which provides
@@ -1158,7 +1158,7 @@
"/dev/audio%d", cardinfo->card);
newfd = open(devname, O_RDONLY);
if (newfd < 0)
- return retval;
+ return newfd;
} else {
newfd = fd;
}
Home |
Main Index |
Thread Index |
Old Index