$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 -#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;