diff options
| author | 2020-05-25 06:45:25 +0000 | |
|---|---|---|
| committer | 2020-05-25 06:45:25 +0000 | |
| commit | fc223b232cff7e51a9474209d53006b4ae5898e7 (patch) | |
| tree | d686bcf653c8636db97661bfec3b878368cb166d /sys/dev/usb/udl.c | |
| parent | Kill unused cdev_pc_init(). (diff) | |
| download | wireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.tar.xz wireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.zip | |
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
Diffstat (limited to 'sys/dev/usb/udl.c')
| -rw-r--r-- | sys/dev/usb/udl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index 7c59abc1382..bb1e9a184ac 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.91 2020/01/09 14:36:26 mpi Exp $ */ +/* $OpenBSD: udl.c,v 1.92 2020/05/25 06:45:26 jsg Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -627,7 +627,7 @@ udl_alloc_screen(void *v, const struct wsscreen_descr *type, sc->sc_ri.ri_ops.putchar = udl_putchar; sc->sc_ri.ri_do_cursor = udl_do_cursor; - sc->sc_ri.ri_ops.alloc_attr(&sc->sc_ri, 0, 0, 0, attrp); + sc->sc_ri.ri_ops.pack_attr(&sc->sc_ri, 0, 0, 0, attrp); udl_stdscreen.nrows = sc->sc_ri.ri_rows; udl_stdscreen.ncols = sc->sc_ri.ri_cols; |
