shithub: riscv

Download patch

ref: 157166d4fc578c1b0e11deb04278e3fb8f35d15e
parent: 29f60cace1a71edd730c60ddac8dfbd962741038
author: cinap_lenrek <[email protected]>
date: Tue Dec 22 11:36:45 EST 2020

kbdfs: fix mistake, remove leftover static user variable (thanks umbraticus and igor)

--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -1253,7 +1253,6 @@
 static int
 fillstat(ulong qid, Dir *d)
 {
-	static char *user;
 	struct Qtab *t;
 
 	memset(d, 0, sizeof *d);