shithub: riscv

Download patch

ref: 01762349bd563edc672e5063b548a88948fcbdce
parent: 8067368e10330a67550f9e3ee353da858266a6eb
author: cinap_lenrek <[email protected]>
date: Sun Feb 1 22:05:56 EST 2015

aux/vga: fix mistale :-)

--- a/sys/src/cmd/aux/vga/db.c
+++ b/sys/src/cmd/aux/vga/db.c
@@ -24,7 +24,7 @@
 	Attr *a;
 
 	va_start(list, fmt);
-	snprint(val, sizeof(val), fmt, list);
+	vsnprint(val, sizeof(val), fmt, list);
 	va_end(list);
 
 	a = alloc(sizeof(Attr));