win-pvdrivers

changeset 308:094537c517f5 wdm

Fixed pointer error
author James Harper <james.harper@bendigoit.com.au>
date Wed Jun 11 21:04:54 2008 +1000 (2008-06-11)
parents 6b85686a16c0
children 41c06d83082d
files common/include/xen_public.h
line diff
     1.1 --- a/common/include/xen_public.h	Wed Jun 11 20:27:30 2008 +1000
     1.2 +++ b/common/include/xen_public.h	Wed Jun 11 21:04:54 2008 +1000
     1.3 @@ -201,7 +201,7 @@ static __inline VOID
     1.4  //  KdPrint((__DRIVER_NAME "     ADD_XEN_INIT_STRING *ptr = %p, val = %s\n", *ptr, val));
     1.5    //RtlStringCbCopyA((PCHAR)*ptr, PAGE_SIZE - (PtrToUlong(*ptr) & (PAGE_SIZE - 1)), val);
     1.6    // using strcpy instead of above needed for mingw32
     1.7 -  strcpy((char *)ptr, val);
     1.8 +  strcpy((char *)*ptr, val);
     1.9    *ptr += strlen(val) + 1;
    1.10  }
    1.11