X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_file.h;h=20718c3f3b0a577624adbb03c7350fc1a1938e20;hb=e0c113197cc4f189d1e2d34ede358b7733d73e4d;hp=ea8dd973a2dc4204c0594fb8fc3538c41be4c96b;hpb=b25296b8b79d1964be81a4ebfa8262d4ca36a63f;p=palacios.git diff --git a/palacios/include/palacios/vmm_file.h b/palacios/include/palacios/vmm_file.h index ea8dd97..20718c3 100644 --- a/palacios/include/palacios/vmm_file.h +++ b/palacios/include/palacios/vmm_file.h @@ -51,14 +51,14 @@ ({ \ extern struct v3_file_hooks *file_hooks; \ ((file_hooks) && (file_hooks)->file_read) ? \ - (file_hooks)->file_read((fd),(start),(buf),(length)) : -1 ; \ + (file_hooks)->file_read((fd),(start),(buf),(len)) : -1 ; \ }) #define V3_FileWrite(fd,start,buf,len) \ ({ \ extern struct v3_file_hooks *file_hooks; \ ((file_hooks) && (file_hooks)->file_write) ? \ - (file_hooks)->file_write((fd),(start),(buf),(length)) : -1 ; \ + (file_hooks)->file_write((fd),(start),(buf),(len)) : -1 ; \ })