Windows: update GetFileVersionInformation fail msg
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 17 Aug 2013 15:33:45 +0000 (11:33 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 21 Aug 2013 12:00:28 +0000 (05:00 -0700)
Include the module name in the error message if GetFileVersionInformation
fails.  Its failure means the module has no file version resource data.

Change-Id: If2e0d376613b5b10e58114986f9ae6994a6de6c0
Reviewed-on: http://gerrit.openafs.org/10152
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/WINNT/afsd/afsd_service.c

index 067ec99..ea47deb 100644 (file)
@@ -642,7 +642,7 @@ GetVersionInfo( CHAR * filename, CHAR * szOutput, DWORD dwOutput )
     DWORD size = GetFileVersionInfoSize(filename, &dwVersionHandle);
 
     if (!size) {
-        afsi_log("GetFileVersionInfoSize failed");
+       afsi_log("GetFileVersionInfoSize(%s) failed", filename);
         return GetLastError();
     }