diff options
author | Dean Roehrich <roehrich@sgi.com> | 2004-04-20 17:05:56 +0000 |
---|---|---|
committer | Dean Roehrich <roehrich@sgi.com> | 2004-04-20 17:05:56 +0000 |
commit | 18519a67e32211b9a9b9873495b7c36ac202327b (patch) | |
tree | 55b4e7a8819b3eaa7c8e5574c240e0b03d6dda1e | |
parent | acb86e27c7ec5e3bbc40872fb45d5cebe4afaaef (diff) | |
download | dmapi-dev-18519a67e32211b9a9b9873495b7c36ac202327b.tar.gz |
For 2.6 kernel, libdm should look for /dev/dmapi
For 2.6 kernel, libdm should look for /dev/dmapi
-rw-r--r-- | libdm/dmapi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/dmapi_lib.c b/libdm/dmapi_lib.c index 9902fe5..64811f6 100644 --- a/libdm/dmapi_lib.c +++ b/libdm/dmapi_lib.c @@ -50,7 +50,7 @@ static int dmapi_fd = -1; int dmi_init_service( char *versionstr ) { - dmapi_fd = open( "/dev/xfs_dmapi", O_RDWR ); + dmapi_fd = open( "/dev/dmapi", O_RDWR ); if( dmapi_fd == -1 ) { /* Try the old device location, used with 2.4 kernels, * which still offers a compatible interface. |