(SIGAR-212) pass LANG_ENGLISH to FormatMessage in Windows sigar_strerror impl
This commit is contained in:
		
							parent
							
								
									e4fda73a29
								
							
						
					
					
						commit
						b1da05dbe0
					
				@ -166,7 +166,7 @@ char *sigar_strerror_get(int err, char *errbuf, int buflen)
 | 
			
		||||
                        FORMAT_MESSAGE_IGNORE_INSERTS,
 | 
			
		||||
                        NULL,
 | 
			
		||||
                        err,
 | 
			
		||||
                        0, /* default language */
 | 
			
		||||
                        MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT), /* force english */
 | 
			
		||||
                        (LPTSTR)errbuf,
 | 
			
		||||
                        (DWORD)buflen,
 | 
			
		||||
                        NULL);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user