aboutsummaryrefslogtreecommitdiff
path: root/lib/ib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ib.c')
-rw-r--r--lib/ib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ib.c b/lib/ib.c
index 72281a1..e05bd3e 100644
--- a/lib/ib.c
+++ b/lib/ib.c
@@ -36,7 +36,7 @@ extern struct hwtype ib_hwtype;
/* Display an InfiniBand address in readable format. */
-static char *pr_ib(unsigned char *ptr)
+static const char *pr_ib(const char *ptr)
{
static char buff[128];
char *pos;