Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wsfont allow longer font names



details:   https://anonhg.NetBSD.org/src/rev/e94ecddfd1c6
branches:  trunk
changeset: 824937:e94ecddfd1c6
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Jun 23 01:57:40 2017 +0000

description:
allow longer font names

diffstat:

 sys/dev/wsfont/wsfontdev.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a782b9a56572 -r e94ecddfd1c6 sys/dev/wsfont/wsfontdev.c
--- a/sys/dev/wsfont/wsfontdev.c        Fri Jun 23 00:35:20 2017 +0000
+++ b/sys/dev/wsfont/wsfontdev.c        Fri Jun 23 01:57:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsfontdev.c,v 1.17 2015/08/20 14:40:18 christos Exp $ */
+/* $NetBSD: wsfontdev.c,v 1.18 2017/06/23 01:57:40 macallan Exp $ */
 
 /*
  * Copyright (c) 2001
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsfontdev.c,v 1.17 2015/08/20 14:40:18 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsfontdev.c,v 1.18 2017/06/23 01:57:40 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -74,7 +74,7 @@
 wsfontioctl(dev_t dev, u_long cmd, void *data, int flag,
     struct lwp *l)
 {
-       char nbuf[16];
+       char nbuf[64];
        void *buf;
        int res;
 



Home | Main Index | Thread Index | Old Index