aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyveload
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-06 05:18:52 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-06 05:18:52 +0000
commitcb37fc82b1f7b2eb79bdf5534cddd3a5029bd753 (patch)
tree70260198e30eaa16bc91a211e90d00b9bfae93a0 /usr.sbin/bhyveload
parentfbc88a6f35671bd37d0a4ed68c0bb0687c364c21 (diff)
downloadsrc-cb37fc82b1f7b2eb79bdf5534cddd3a5029bd753.tar.gz
src-cb37fc82b1f7b2eb79bdf5534cddd3a5029bd753.zip
De-const to match changes in userboot.h
Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=326615
Diffstat (limited to 'usr.sbin/bhyveload')
-rw-r--r--usr.sbin/bhyveload/bhyveload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyveload/bhyveload.c b/usr.sbin/bhyveload/bhyveload.c
index af6c6c98d7f6..b49f20369668 100644
--- a/usr.sbin/bhyveload/bhyveload.c
+++ b/usr.sbin/bhyveload/bhyveload.c
@@ -513,14 +513,14 @@ cb_getmem(void *arg, uint64_t *ret_lowmem, uint64_t *ret_highmem)
}
struct env {
- const char *str; /* name=value */
+ char *str; /* name=value */
SLIST_ENTRY(env) next;
};
static SLIST_HEAD(envhead, env) envhead;
static void
-addenv(const char *str)
+addenv(char *str)
{
struct env *env;