summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 9f79a4d..f93a9ba 100644
--- a/dir.c
+++ b/dir.c
@@ -385,7 +385,7 @@ find_directory (name)
/* Enter it in the contents hash table. */
dc->dev = st.st_dev;
#ifdef WINDOWS32
- dc->path_key = strdup(w32_path);
+ dc->path_key = xstrdup(w32_path);
dc->mtime = st.st_mtime;
/*