summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ln.c b/src/ln.c
index cc4251b61..3c40037e8 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -120,11 +120,11 @@ static struct option const long_options[] =
{NULL, 0, NULL, 0}
};
-/* Check whether SOURCE and DEST point to the same name in the same
+/* Return nonzero if SOURCE and DEST point to the same name in the same
directory. */
static int
-same_name (char *source, char *dest)
+same_name (const char *source, const char *dest)
{
struct stat source_dir_stats;
struct stat dest_dir_stats;