1 diff -urN xen-unstable.org/tools/pygrub/src/fsys/reiser/reisermodule.c xen-unstable/tools/pygrub/src/fsys/reiser/reisermodule.c
2 --- xen-unstable.org/tools/pygrub/src/fsys/reiser/reisermodule.c 2006-01-25 05:56:11.000000000 +0100
3 +++ xen-unstable/tools/pygrub/src/fsys/reiser/reisermodule.c 2006-01-25 18:22:47.110770500 +0100
8 -#include <dal/file_dal.h>
10 #include <reiserfs/reiserfs.h>
12 #if (PYTHON_API_VERSION >= 1011)
14 void file_dal_close(dal_t *dal) {
18 - close((int)(unsigned long)dal->dev);
23 /* reiser file object */
28 - if (!(dal = file_dal_open(name, block_size, O_RDONLY))) {
29 + if (!(dal = file_open(name, block_size, O_RDONLY))) {
30 PyErr_SetString(PyExc_ValueError, "Couldn't create device abstraction");