Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/sys/dev Fix botched edit.
details: https://anonhg.NetBSD.org/src/rev/dad1ef815351
branches: pgoyette-localcount
changeset: 852868:dad1ef815351
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Jul 26 07:42:39 2016 +0000
description:
Fix botched edit.
diffstat:
sys/dev/midi.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 44065e020964 -r dad1ef815351 sys/dev/midi.c
--- a/sys/dev/midi.c Tue Jul 26 06:17:26 2016 +0000
+++ b/sys/dev/midi.c Tue Jul 26 07:42:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: midi.c,v 1.85.2.1 2016/07/26 03:24:20 pgoyette Exp $ */
+/* $NetBSD: midi.c,v 1.85.2.2 2016/07/26 07:42:39 pgoyette Exp $ */
/*
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.85.2.1 2016/07/26 03:24:20 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.85.2.2 2016/07/26 07:42:39 pgoyette Exp $");
#include "midi.h"
#include "sequencer.h"
@@ -1598,9 +1598,8 @@
int
midi_writebytes(int unit, u_char *bf, int cc)
{
- device_t self = device_lookup_acquire(&midi_cd, MIDIUNIT(dev));
+ device_t self = device_lookup_acquire(&midi_cd, unit);
struct midi_softc *sc;
- device_lookup_private_acquire(&midi_cd, unit, &self);
int error;
if (self == NULL)
Home |
Main Index |
Thread Index |
Old Index