diff options
| author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2001-06-29 06:42:39 +0000 |
|---|---|---|
| committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2001-06-29 06:42:39 +0000 |
| commit | 3b34b2da350562f149ef2850593d9a140f28cab0 (patch) | |
| tree | 1d3aa6c7fbb1c66dbd792a3894054dc062b23c39 /sys/dev/syscons | |
| parent | 40dbfd1a4815dcd9311dfaf47fd85ae8557b3e91 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 685b992d54f6c..1ea90f3350743 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -477,7 +477,7 @@ scopen(dev_t dev, int flag, int mode, struct proc *p) ttychars(tp); /* Use the current setting of the <-- key as default VERASE. */ /* If the Delete key is preferable, an stty is necessary */ - if (sc != NULL) { + if (sc->kbd != NULL) { key.keynum = KEYCODE_BS; kbd_ioctl(sc->kbd, GIO_KEYMAPENT, (caddr_t)&key); tp->t_cc[VERASE] = key.key.map[0]; |
