sound: Match midi_write() return values with midi_read()

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D55920
This commit is contained in:
Christos Margiolis
2026-03-24 11:31:08 +01:00
parent 039477d3e7
commit a49e925489
+1 -1
View File
@@ -421,7 +421,7 @@ midi_write(struct cdev *i_dev, struct uio *uio, int ioflag)
int used;
char buf[MIDI_WSIZE];
retval = 0;
retval = EIO;
if (m == NULL)
goto err0;