Skip to content

Commit

Permalink
Fix rewriting of ISOs with empty root
Browse files Browse the repository at this point in the history
  • Loading branch information
rapperskull committed Mar 5, 2023
1 parent 6afa88a commit fe9551d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract-xiso.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ int create_xiso( char *in_root_directory, char *in_output_directory, dir_node_av

if ( in_root ) {
root.subdirectory = in_root;
avl_traverse_depth_first( in_root, (traversal_callback) calculate_total_files_and_bytes, nil, k_prefix, 0 );
avl_traverse_depth_first( &root, (traversal_callback) calculate_total_files_and_bytes, nil, k_prefix, 0 );
} else {
int i, n = 0;

Expand Down

0 comments on commit fe9551d

Please sign in to comment.