PERFORCE change 147558 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Aug 16 16:37:35 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147558
Change 147558 by bz at bz_dumpster on 2008/08/16 16:36:56
Hostname is global in this context.
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/dev/syscons/daemon/daemon_saver.c#3 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/dev/syscons/daemon/daemon_saver.c#3 (text+ko) ====
@@ -36,6 +36,7 @@
#include <sys/sysctl.h>
#include <sys/consio.h>
#include <sys/fbio.h>
+#include <sys/vimage.h>
#include <machine/pc/display.h>
@@ -352,10 +353,10 @@
{
/* XXXRW: Locking -- these can change! */
- messagelen = strlen(hostname) + 3 + strlen(ostype) + 1 +
+ messagelen = strlen(G_hostname) + 3 + strlen(ostype) + 1 +
strlen(osrelease);
message = malloc(messagelen + 1, M_DEVBUF, M_WAITOK);
- sprintf(message, "%s - %s %s", hostname, ostype, osrelease);
+ sprintf(message, "%s - %s %s", G_hostname, ostype, osrelease);
blanked = 0;
switch (adp->va_mode) {
case M_PC98_80x25:
More information about the p4-projects
mailing list