bhyve: Use the proper type for string literals

No functional change intended.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2022-10-22 13:37:46 -04:00
parent 33dfef5cf3
commit 7039bdd535
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
#include <sys/nv.h>
struct ipc_command {
char *name;
const char *name;
int (*handler)(struct vmctx *ctx, const nvlist_t *nvl);
};

View File

@ -49,7 +49,7 @@ struct vm_snapshot_meta;
/* Device emulation handlers */
struct usb_devemu {
char *ue_emu; /* name of device emulation */
const char *ue_emu; /* name of device emulation */
int ue_usbver; /* usb version: 2 or 3 */
int ue_usbspeed; /* usb device speed */