summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cksum.c b/src/cksum.c
index c49fdce5c..db4db25da 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -192,7 +192,7 @@ static int have_read_stdin;
Return 0 if successful, -1 if an error occurs. */
static int
-cksum (char *file, int print_name)
+cksum (const char *file, int print_name)
{
unsigned char buf[BUFLEN];
unsigned long crc = 0;