Fix build.

This commit is contained in:
Gleb Smirnoff 2013-06-27 10:42:09 +00:00
parent c68a57b8f6
commit 25fa33476b
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ print_log_firmware(void *buf, uint32_t size __unused)
}
}
struct logpage_function {
static struct logpage_function {
uint8_t log_page;
print_fn_t fn;
} logfuncs[] = {

View File

@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
typedef void (*nvme_fn_t)(int argc, char *argv[]);
struct nvme_function {
static struct nvme_function {
const char *name;
nvme_fn_t fn;
const char *usage;