summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 11:18:11 -0400
committerWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 11:18:11 -0400
commitf1bc75dac68c91c952d21e1208e627ec6869079a (patch)
tree22b71a893b4d3dc454e701f02f9bf98316e278cd /lib/stream.c
parent9d72660d671739452d9825609fbf73ec7245f2e8 (diff)
lib: stream_hexdump takes const struct
Signed-off-by: Wesley Coakley <wcoakley@cumulusnetworks.com>
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.c b/lib/stream.c
index b378ab62a5..fcfbc78e3d 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -1122,7 +1122,7 @@ int stream_flush(struct stream *s, int fd)
return nbytes;
}
-void stream_hexdump(struct stream *s)
+void stream_hexdump(const struct stream *s)
{
zlog_hexdump(s->data, s->endp);
}