Fix print_edge invocation