$OpenBSD: patch-lsdvd_c,v 1.3 2007/07/29 16:32:15 ajacoutot Exp $ --- lsdvd.c.orig Thu Mar 2 14:48:11 2006 +++ lsdvd.c Sun Jul 29 18:24:55 2007 @@ -13,6 +13,7 @@ * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, * output info structures in form of a Perl module, by Henk Vergonet. */ +#include #include #include #include @@ -235,7 +236,7 @@ int main(int argc, char *argv[]) pgc_t *pgc; int i, j, c, titles, cell, vts_ttn, title_set_nr; char lang_code[3]; - char *dvd_device = "/dev/dvd"; + char *dvd_device = "/dev/rcd0c"; int has_title = 0, ret = 0; int max_length = 0, max_track = 0; struct stat dvd_stat;