summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/charset.c b/source3/lib/charset.c
index 08d7726e3b..5bf3bfbe30 100644
--- a/source3/lib/charset.c
+++ b/source3/lib/charset.c
@@ -209,7 +209,7 @@ static codepage_p load_client_codepage( int client_codepage )
"%03d",
client_codepage);
- if(!file_exist(codepage_file_name,&st))
+ if(sys_stat(codepage_file_name,&st)!=0)
{
DEBUG(0,("load_client_codepage: filename %s does not exist.\n",
codepage_file_name));
@@ -226,7 +226,7 @@ static codepage_p load_client_codepage( int client_codepage )
if( size < CODEPAGE_HEADER_SIZE || size > (CODEPAGE_HEADER_SIZE + 4 * MAXCODEPAGELINES))
{
DEBUG(0,("load_client_codepage: file %s is an incorrect size for a \
-code page file.\n", codepage_file_name));
+code page file (size=%d).\n", codepage_file_name, (int)size));
return NULL;
}