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
|
$NetBSD: patch-ax,v 1.2 2003/10/05 04:25:15 taca Exp $
--- yatd/init.c.orig 2001-12-19 22:43:44.000000000 +0900
+++ yatd/init.c
@@ -5,7 +5,7 @@
#ifdef HAVE_MNTENT_H
#include <mntent.h>
-#endif HAVE_MNTENT_H
+#endif
/* #define DEBUG_LOCAL 1 */
@@ -385,7 +385,7 @@ int InitByYatsvrRc(fSys)
#else
"Invalid %s value : %d",
#endif
- YSCONF_DFLIMITSIZ, sizLimit);
+ YSCONF_DFLIMITSIZ, LONGLONG_CAST(sizLimit));
}
else
SysData.sizLimitFree = sizLimit;
@@ -400,7 +400,7 @@ int InitByYatsvrRc(fSys)
#endif
if ((nodLimit < MINLIMITNODFREE) || (MAXLIMITNODFREE < nodLimit)) {
WARNING(ERRYS_DUMMY, 0,
- "Invalid %s value : %d", YSCONF_DFLIMITNOD, nodLimit);
+ "Invalid %s value : %ld", YSCONF_DFLIMITNOD, nodLimit);
}
else
SysData.nodLimitFree = nodLimit;
|