summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r--sys/dev/firewire/firewire.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index 25e0ed2..2c48ff3 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -45,6 +45,7 @@
#include <sys/conf.h>
#include <sys/sysctl.h>
#include <sys/kthread.h>
+#include <sys/vimage.h>
#include <sys/kdb.h>
@@ -702,7 +703,7 @@ fw_reset_crom(struct firewire_comm *fc)
crom_add_simple_text(src, root, &buf->vendor, "FreeBSD Project");
crom_add_entry(root, CSRKEY_HW, __FreeBSD_version);
#endif
- crom_add_simple_text(src, root, &buf->hw, hostname);
+ crom_add_simple_text(src, root, &buf->hw, V_hostname);
}
/*
OpenPOWER on IntegriCloud