Skip to content

Commit fe9551d

Browse files
committed
Fix rewriting of ISOs with empty root
1 parent 6afa88a commit fe9551d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract-xiso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ int create_xiso( char *in_root_directory, char *in_output_directory, dir_node_av
986986

987987
if ( in_root ) {
988988
root.subdirectory = in_root;
989-
avl_traverse_depth_first( in_root, (traversal_callback) calculate_total_files_and_bytes, nil, k_prefix, 0 );
989+
avl_traverse_depth_first( &root, (traversal_callback) calculate_total_files_and_bytes, nil, k_prefix, 0 );
990990
} else {
991991
int i, n = 0;
992992

0 commit comments

Comments
 (0)