Skip to content

Commit

Permalink
Update debugfs/dump.c
Browse files Browse the repository at this point in the history
Co-authored-by: Sándor Oroszi <[email protected]>
  • Loading branch information
qkaiser and orosam authored Feb 14, 2024
1 parent e77e14e commit 27df451
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions debugfs/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,13 @@ void do_rdump(int argc, char **argv, int sci_idx,
if (rdump_inode(ino, &inode, basename, dest_dir, preserve) != 0)
ss_set_exit_status(sci_idx, 1);
}
print_usage:
com_err(argv[0], 0,
"Usage: rdump [-p] "
"<fs_directory>... <output_file>");
ss_set_exit_status(sci_idx, 1);
return;

print_usage:
com_err(argv[0], 0,
"Usage: rdump [-p] "
"<fs_directory>... <output_directory>");
ss_set_exit_status(sci_idx, 1);
}

void do_cat(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)),
Expand Down

0 comments on commit 27df451

Please sign in to comment.