split_old_log and rotate_log got an optional argument added, but the prototypes were not updated, which caused crashes. Fixes: commit ab50352c