summaryrefslogtreecommitdiff
path: root/audio/gsi/files/patch-lib::gsif::io.c
blob: 999a52dec64fd4ada5228901e5b257cd7a1088b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
$FreeBSD$

--- lib/gsif/io.c.orig	Sat Jan 10 22:22:35 2004
+++ lib/gsif/io.c	Sat Jan 10 22:21:32 2004
@@ -80,7 +80,7 @@
 	fint = gsif_swap_int16(i);
 	status = write (fd, &fint, 2);
 #else
-	fint = val;
+	fint = i;
 	status = write (fd, &fint, 2);
 #endif
 	if (status != 2) (*s) = status;