Skip to content

Commit b034c12

Browse files
committed
Fix rewriting of ISOs with empty root
1 parent a8f17b9 commit b034c12

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
@@ -987,7 +987,7 @@ int create_xiso( char *in_root_directory, char *in_output_directory, dir_node_av
987987

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

0 commit comments

Comments
 (0)