Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hpc Fix the previous fix that doesn't even compile.
details: https://anonhg.NetBSD.org/src/rev/ed760e74d7b7
branches: trunk
changeset: 355542:ed760e74d7b7
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Aug 02 00:58:18 2017 +0000
description:
Fix the previous fix that doesn't even compile.
diffstat:
sys/dev/hpc/hpf1275a_tty.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 6fa1d21aa75d -r ed760e74d7b7 sys/dev/hpc/hpf1275a_tty.c
--- a/sys/dev/hpc/hpf1275a_tty.c Tue Aug 01 21:50:36 2017 +0000
+++ b/sys/dev/hpc/hpf1275a_tty.c Wed Aug 02 00:58:18 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpf1275a_tty.c,v 1.27 2013/06/28 14:44:15 christos Exp $ */
+/* $NetBSD: hpf1275a_tty.c,v 1.28 2017/08/02 00:58:18 uwe Exp $ */
/*
* Copyright (c) 2004 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpf1275a_tty.c,v 1.27 2013/06/28 14:44:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpf1275a_tty.c,v 1.28 2017/08/02 00:58:18 uwe Exp $");
#include "opt_wsdisplay_compat.h"
@@ -307,7 +307,7 @@
.cf_fstate = FSTATE_STAR,
};
struct lwp *l = curlwp; /* XXX */
- struct hpf1275a_softc *sc = device_private(self);
+ struct hpf1275a_softc *sc;
device_t self;
int error, s;
@@ -328,6 +328,7 @@
return (EIO);
}
+ sc = device_private(self);
tp->t_sc = sc;
sc->sc_tp = tp;
Home |
Main Index |
Thread Index |
Old Index