From c1f192193d05ec3b3f92d0aba3464f84679da895 Mon Sep 17 00:00:00 2001 From: Jamie Gritton Date: Sat, 13 Jun 2009 15:39:12 +0000 Subject: Rename the host-related prison fields to be the same as the host.* parameters they represent, and the variables they replaced, instead of abbreviated versions of them. Approved by: bz (mentor) --- sys/dev/syscons/daemon/daemon_saver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/syscons') diff --git a/sys/dev/syscons/daemon/daemon_saver.c b/sys/dev/syscons/daemon/daemon_saver.c index 7530b4d9f3b8..3009d31b3583 100644 --- a/sys/dev/syscons/daemon/daemon_saver.c +++ b/sys/dev/syscons/daemon/daemon_saver.c @@ -353,10 +353,10 @@ daemon_init(video_adapter_t *adp) { mtx_lock(&prison0.pr_mtx); - messagelen = strlen(prison0.pr_host) + 3 + strlen(ostype) + 1 + + messagelen = strlen(prison0.pr_hostname) + 3 + strlen(ostype) + 1 + strlen(osrelease); message = malloc(messagelen + 1, M_DEVBUF, M_WAITOK); - sprintf(message, "%s - %s %s", prison0.pr_host, ostype, osrelease); + sprintf(message, "%s - %s %s", prison0.pr_hostname, ostype, osrelease); mtx_unlock(&prison0.pr_mtx); blanked = 0; switch (adp->va_mode) { -- cgit v1.3