summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2019-08-29 07:11:28 +0000
committerratchov <ratchov@openbsd.org>2019-08-29 07:11:28 +0000
commit33a7e7de2601fefda9ab0861e3d46ff0090613b0 (patch)
tree3287890db2bb443dd9ba114f3fd396cea80d329f
parentMove code de disconnect all MIDI clients to its own routine. (diff)
downloadwireguard-openbsd-33a7e7de2601fefda9ab0861e3d46ff0090613b0.tar.xz
wireguard-openbsd-33a7e7de2601fefda9ab0861e3d46ff0090613b0.zip
Fix wrong comment about MIDI port hold flag
-rw-r--r--usr.bin/sndiod/midi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sndiod/midi.h b/usr.bin/sndiod/midi.h
index 8cfb664cee1..91fa81c133d 100644
--- a/usr.bin/sndiod/midi.h
+++ b/usr.bin/sndiod/midi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi.h,v 1.8 2016/01/09 13:36:11 ratchov Exp $ */
+/* $OpenBSD: midi.h,v 1.9 2019/08/29 07:11:28 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -88,8 +88,8 @@ struct port {
#define PORT_DRAIN 2
unsigned int state;
unsigned int num; /* port serial number */
- char *path; /* hold the port open ? */
- int hold;
+ char *path;
+ int hold; /* hold the port open ? */
struct midi *midi;
};