aboutsummaryrefslogtreecommitdiff
path: root/fstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fstree.c')
-rw-r--r--fstree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fstree.c b/fstree.c
index 28fd94c..2a160a4 100644
--- a/fstree.c
+++ b/fstree.c
@@ -23,7 +23,7 @@
#include <dirent.h>
#include <sys/stat.h>
-static struct node *read_fstree(char *dirname)
+static struct node *read_fstree(const char *dirname)
{
DIR *d;
struct dirent *de;
@@ -80,7 +80,7 @@ static struct node *read_fstree(char *dirname)
return tree;
}
-struct boot_info *dt_from_fs(char *dirname)
+struct boot_info *dt_from_fs(const char *dirname)
{
struct node *tree;