X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fpartmap.c;h=962b04bfefa00096371bec672894850a61ab906c;hb=b9db3187d404ffec3840f9a3ffc237fb9523de79;hp=ed74df363219608c6c58b60e0da0f047aaa85c28;hpb=e8060fa4647c5c4ccf07efb91a35f65c543dfc4f;p=libucw.git diff --git a/ucw/partmap.c b/ucw/partmap.c index ed74df36..962b04bf 100644 --- a/ucw/partmap.c +++ b/ucw/partmap.c @@ -19,7 +19,7 @@ #include #include -#ifdef CONFIG_PARTMAP_IS_MMAP +#ifdef CONFIG_UCW_PARTMAP_IS_MMAP #define PARTMAP_WINDOW ~(size_t)0 #else #ifdef TEST @@ -40,7 +40,7 @@ partmap_open(char *name, int writeable) if ((p->file_size = ucw_seek(p->fd, 0, SEEK_END)) < 0) die("lseek(%s): %m", name); p->writeable = writeable; -#ifdef CONFIG_PARTMAP_IS_MMAP +#ifdef CONFIG_UCW_PARTMAP_IS_MMAP partmap_load(p, 0, p->file_size); #endif return p;