From 3956bb5b0e8af0e2fb91991ff270c5656fd6dd3b Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 22 Mar 2009 14:29:51 -0700 Subject: [PATCH] msi: Fix a typo (Coverity 910). --- dlls/msi/registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 73a36eb0fc7..57d30d76e2c 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -804,7 +804,7 @@ UINT MSIREG_OpenUserDataProductKey(LPCWSTR szProduct, MSIINSTALLCONTEXT dwContex if (dwContext == MSIINSTALLCONTEXT_MACHINE) sprintfW(keypath, szUserDataProd_fmt, szLocalSid, squished_pc); else if (szUserSid) - sprintfW(keypath, szUserDataProd_fmt, usersid, squished_pc); + sprintfW(keypath, szUserDataProd_fmt, szUserSid, squished_pc); else { rc = get_user_sid(&usersid);