summaryrefslogtreecommitdiff
path: root/content/dirlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/dirlist.c')
-rw-r--r--content/dirlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/dirlist.c b/content/dirlist.c
index 8ed977239..433e21026 100644
--- a/content/dirlist.c
+++ b/content/dirlist.c
@@ -177,7 +177,8 @@ bool dirlist_generate_title(const char *title, char *buffer, int buffer_length)
* dirlist_generate_bottom()
*/
-bool dirlist_generate_parent_link(char *parent, char *buffer, int buffer_length)
+bool dirlist_generate_parent_link(const char *parent, char *buffer,
+ int buffer_length)
{
int error = snprintf(buffer, buffer_length,
"<p><a href=\"%s\">%s</a></p>",