Date: Tue, 30 Sep 2008 02:45:45 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 150677 for review Message-ID: <200809300245.m8U2jjv4043060@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150677 Change 150677 by peter@peter_overcee on 2008/09/30 02:45:00 Typo fix (G_ instead of V_), add missing include. Affected files ... .. //depot/projects/hammer/sys/kern/kern_shutdown.c#55 edit Differences ... ==== //depot/projects/hammer/sys/kern/kern_shutdown.c#55 (text+ko) ==== @@ -66,6 +66,7 @@ #include <sys/sysctl.h> #include <sys/sysproto.h> #include <sys/uuid.h> +#include <sys/vimage.h> #include <ddb/ddb.h> @@ -712,7 +713,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, V_hostname, sizeof(kdh->hostname)); + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809300245.m8U2jjv4043060>