summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches/patch-bk
blob: 2d3638a9119d974b26c4ef5a4087ec8de7a95864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-bk,v 1.3 2003/10/05 04:25:15 taca Exp $

--- yatd/v2conv.c.orig	2001-12-19 22:56:15.000000000 +0900
+++ yatd/v2conv.c
@@ -148,7 +148,7 @@ static void V2GetSummary(pFldrParent)
 	}
 
 #ifdef DEBUG_LOCAL
-	LogDEBUG("<<<V2 Summary: %.256s %u %u %u",
+ 	LogDEBUG("<<<V2 Summary: %.256s %ld %u %u",
 		 V2Fldr.szName, V2Fldr.mtime,
 		 V2Fldr.nMail, V2Fldr.nMailUnseen);
 #endif
@@ -389,7 +389,7 @@ int V2FldrScan()
     }
     else if (errno != ENOENT)
       WARNING(errno, ERRFLG_SYSERR,
-	      "stat(%.256s) failed", szV2MboxFile, SYS_ERRMSG);
+	      "stat(%.256s) failed/%s", szV2MboxFile, SYS_ERRMSG);
   }
 
  LBL_SKIPUCBMBOX:
@@ -421,7 +421,7 @@ int V2FldrScan()
     strcpy(pFileName, pDirect->d_name);
     if (stat(szV2MboxFile, &statBuf) == -1) {
       WARNING(errno, ERRFLG_SYSERR,
-	      "stat(%.256s) failed", szV2MboxFile, SYS_ERRMSG);
+	      "stat(%.256s) failed/%s", szV2MboxFile, SYS_ERRMSG);
       continue;
     }
     if ((statBuf.st_mode & S_IFMT) == S_IFREG) {
@@ -564,7 +564,7 @@ int FuncCnv2()
 
   if (Cnv2(SysData.argv[1]))
     return FAILURE;
-  Msg2Cli(SUCCESS, "You have %d message(s) (%d octets).",
+  Msg2Cli(SUCCESS, "You have %d message(s) (%ld octets).",
 	  SysData.pFldrCur->nMailAvail,
 	  SysData.pFldrCur->sizMailsAvail);
   return SUCCESS;