PERFORCE change 150677 for review
Peter Wemm
peter at FreeBSD.org
Tue Sep 30 02:45:46 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150677
Change 150677 by peter at 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));
More information about the p4-projects
mailing list