Module: wine Branch: refs/heads/master Commit: 553bb2591f2f0a61e310967b5903bc2dfea5a0c6 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=553bb2591f2f0a61e310967b...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 13 14:09:02 2006 +0200
advapi32: Don't use sizeof in traces to avoid printf format warnings.
---
dlls/advapi32/service.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index cd12416..08adf89 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -511,7 +511,7 @@ static BOOL service_get_status(HANDLE pi r = ReadFile( pipe, status, sizeof *status, &count, NULL ); if (!r || count != sizeof *status) ERR("service protocol error - failed to read pipe " - "r = %d count = %ld/%d!\n", r, count, sizeof *status); + "r = %d count = %ld!\n", r, count); return r; }
@@ -534,7 +534,7 @@ static BOOL service_send_control(HANDLE r = ReadFile(pipe, result, sizeof *result, &count, NULL); if (!r || count != sizeof *result) ERR("service protocol error - failed to read pipe " - "r = %d count = %ld/%d!\n", r, count, sizeof *result); + "r = %d count = %ld!\n", r, count); return r; }