diff -ru /usr/src/usr.bin/undo/undo.c undo.fixonly/undo.c --- /usr/src/usr.bin/undo/undo.c 2009-03-09 23:47:33 +0000 +++ undo.fixonly/undo.c 2009-03-22 13:57:32 +0000 @@ -76,6 +76,7 @@ static void doiterate(const char *filename, const char *outFileName, const char *outFilePostfix, int flags, struct hammer_ioc_hist_entry ts1, + struct hammer_ioc_hist_entry ts2, enum undo_cmd cmd, enum undo_type type); static void dogenerate(const char *filename, const char *outFileName, const char *outFilePostfix, @@ -205,7 +206,7 @@ while (ac) { doiterate(*av, outFileName, outFilePostfix, - flags, ts1, cmd, type); + flags, ts1, ts2, cmd, type); ++av; --ac; } @@ -225,13 +226,14 @@ doiterate(const char *filename, const char *outFileName, const char *outFilePostfix, int flags, struct hammer_ioc_hist_entry ts1, + struct hammer_ioc_hist_entry ts2, enum undo_cmd cmd, enum undo_type type) { struct undo_hist_entry_rb_tree dir_tree; struct undo_hist_entry_rb_tree tse_tree; struct undo_hist_entry *tse1; struct undo_hist_entry *tse2; - struct hammer_ioc_hist_entry ts2, tid_max; + struct hammer_ioc_hist_entry tid_max; char *path = NULL; int i; int fd;