PERFORCE change 147514 for review
Marko Zec
zec at FreeBSD.org
Sat Aug 16 09:24:49 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147514
Change 147514 by zec at zec_tpx32 on 2008/08/16 09:24:39
Fix more breakage following the opt_vimage.h -> opt_global.h
change.
Affected files ...
.. //depot/projects/vimage/src/sys/geom/vinum/geom_vinum_drive.c#5 edit
Differences ...
==== //depot/projects/vimage/src/sys/geom/vinum/geom_vinum_drive.c#5 (text+ko) ====
@@ -41,6 +41,7 @@
#include <sys/sbuf.h>
#include <sys/systm.h>
#include <sys/time.h>
+#include <sys/vimage.h>
#include <geom/geom.h>
#include <geom/vinum/geom_vinum_var.h>
@@ -63,7 +64,7 @@
vhdr->config_length = GV_CFG_LEN;
mtx_lock(&hostname_mtx);
- bcopy(hostname, vhdr->label.sysname, GV_HOSTNAME_LEN);
+ bcopy(G_hostname, vhdr->label.sysname, GV_HOSTNAME_LEN);
mtx_unlock(&hostname_mtx);
strncpy(vhdr->label.name, d->name, GV_MAXDRIVENAME);
microtime(&vhdr->label.date_of_birth);
More information about the p4-projects
mailing list