Fix dlls/ntdll/virtual.c FIXME

Gerald Pfeifer gerald at pfeifer.com
Sat Jan 22 03:49:52 CST 2005


The following change 

  revision 1.44
  date: 2005/01/20 19:59:48;  author: julliard;  state: Exp;  lines: +6 -1
  Hans Leidekker <hans at it.vu.nl>
  Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
  Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
  NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
  top of NtQueryVirtualMemory.

introduced a format string error:

  virtual.c:1454: warning: long int format, unsigned int arg (arg 7)

Fix thusly.

Gerald

ChangeLog:
Fix format string in NtQueryVirtualMemory().
Index: virtual.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/virtual.c,v
retrieving revision 1.44
diff -u -3 -p -r1.44 virtual.c
--- virtual.c	20 Jan 2005 19:59:48 -0000	1.44
+++ virtual.c	22 Jan 2005 09:48:35 -0000
@@ -1451,7 +1451,7 @@ NTSTATUS WINAPI NtQueryVirtualMemory( HA
 
     if (info_class != MemoryBasicInformation)
     {
-        FIXME("(%p, %p, %ld, %p, %ld, %p) Unimplemented information class\n", process, addr,
+        FIXME("(%p, %p, %d, %p, %ld, %p) Unimplemented information class\n", process, addr,
               info_class, buffer, len, res_len);
         return STATUS_INVALID_INFO_CLASS;
     }



More information about the wine-patches mailing list