summaryrefslogtreecommitdiffstats
path: root/util/miscutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/miscutil.c')
-rw-r--r--util/miscutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/miscutil.c b/util/miscutil.c
index a1d480fa4..d902ae435 100644
--- a/util/miscutil.c
+++ b/util/miscutil.c
@@ -125,7 +125,7 @@ asctimestamp( u32 stamp )
* Print a string to FP, but filter all control characters out.
*/
void
-print_string( FILE *fp, byte *p, size_t n, int delim )
+print_string( FILE *fp, const byte *p, size_t n, int delim )
{
for( ; n; n--, p++ )
if( iscntrl( *p ) || *p == delim ) {