]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mmap.c
autoconf.cfg: recognize correctly quad-core models of Intel Xeon cpus
[libucw.git] / lib / mmap.c
index aa63622259d50034fce4b774dc600c92dcf1828b..928da4bc176266a694276f93aa102801e4014e08 100644 (file)
@@ -16,7 +16,7 @@
 #include <sys/mman.h>
 
 void *
-mmap_file(byte *name, unsigned *len, int writeable)
+mmap_file(const char *name, unsigned *len, int writeable)
 {
   int fd = open(name, writeable ? O_RDWR : O_RDONLY);
   struct stat st;