Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons Double size of WSDISPLAYIO_SFONT name buffer ...
details: https://anonhg.NetBSD.org/src/rev/295b4f29e182
branches: trunk
changeset: 350884:295b4f29e182
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Jan 25 15:40:31 2017 +0000
description:
Double size of WSDISPLAYIO_SFONT name buffer to 32 characters.
We've got a font known as "DejaVu Sans Mono", and that is 17 bytes
by the time it's NUL terminated.
diffstat:
sys/dev/wscons/wsdisplay.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1e418da369ef -r 295b4f29e182 sys/dev/wscons/wsdisplay.c
--- a/sys/dev/wscons/wsdisplay.c Wed Jan 25 14:53:43 2017 +0000
+++ b/sys/dev/wscons/wsdisplay.c Wed Jan 25 15:40:31 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplay.c,v 1.140 2016/07/07 06:55:42 msaitoh Exp $ */
+/* $NetBSD: wsdisplay.c,v 1.141 2017/01/25 15:40:31 jakllsch Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.140 2016/07/07 06:55:42 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.141 2017/01/25 15:40:31 jakllsch Exp $");
#ifdef _KERNEL_OPT
#include "opt_wsdisplay_compat.h"
@@ -1223,7 +1223,7 @@
u_long cmd, void *data, int flag, struct lwp *l)
{
int error;
- char namebuf[16];
+ char namebuf[32];
struct wsdisplay_font fd;
#ifdef WSDISPLAY_SCROLLSUPPORT
struct wsdisplay_scroll_data *ksdp, *usdp;
Home |
Main Index |
Thread Index |
Old Index