Set a default sysname in #cons
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 6 Sep 2016 20:39:07 +0000 (16:39 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Sep 2016 16:38:17 +0000 (12:38 -0400)
commit29d6d3978d877889692d68e5046106ffb206779f
treea22adc0ac0d8e50baa0db431c95ab3153368ed53
parent6e3086c27cad7b59680193ea40f85feab52ab04a
Set a default sysname in #cons

gethostname() reads this.  We want something for machines that didn't set
up their hostname/sysname.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/cons.c