diff options
author | Tim Riker | 2001-06-22 00:14:20 +0000 |
---|---|---|
committer | Tim Riker | 2001-06-22 00:14:20 +0000 |
commit | fbbd360b3c680ea76e67c04413d0a1430caf07bd (patch) | |
tree | 3cad302d79fad765472be244059c5d4686cfe10c | |
parent | 8071c021311afb592bb6710b841350018ba97b9d (diff) | |
download | busybox-fbbd360b3c680ea76e67c04413d0a1430caf07bd.zip busybox-fbbd360b3c680ea76e67c04413d0a1430caf07bd.tar.gz |
create_path -> make_directory
-rw-r--r-- | libbb/unarchive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c index a0cc28e..3fbd6ef 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -142,7 +142,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f /* Use create_path instead of mkdir incase prefix path * hasnt been created */ if (function & extract_create_dirs) { - if (create_path(full_name, file_entry->mode) == FALSE) { + if (make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0) { return NULL; } } |