summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorDavid Decotigny2017-01-20 19:29:22 +0100
committerMichael Brown2017-01-22 14:45:00 +0100
commit04c7befa730b3a6bfed069d3c6f6539bddb0ee52 (patch)
tree16d17add75fe68138fc9c83777cd053df8f59c1c /src/net
parent[virtio] Remove queue size limit in legacy virtio (diff)
downloadipxe-04c7befa730b3a6bfed069d3c6f6539bddb0ee52.tar.gz
ipxe-04c7befa730b3a6bfed069d3c6f6539bddb0ee52.tar.xz
ipxe-04c7befa730b3a6bfed069d3c6f6539bddb0ee52.zip
[build] Return const char * from uuid_ntoa()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/peerdisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/peerdisc.c b/src/net/peerdisc.c
index 5b0e9891..4c3cd2ea 100644
--- a/src/net/peerdisc.c
+++ b/src/net/peerdisc.c
@@ -408,7 +408,7 @@ static struct peerdisc_segment * peerdisc_create ( const char *id ) {
} random_uuid;
size_t uuid_len;
size_t id_len;
- char *uuid;
+ const char *uuid;
char *uuid_copy;
char *id_copy;
unsigned int i;