summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 08:48:06 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 08:48:06 +0000
commit1195909f5d6e857365fe63487d3dc29680cf2d44 (patch)
tree43de1bd42eb6d3beb99fe1c55ce3b650be68beca /src
parent0c44307f3bd3449ce2264056e78416208dfa7bb9 (diff)
downloadcoreutils-1195909f5d6e857365fe63487d3dc29680cf2d44.tar.xz
(cksum): Constify a char*.
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;