"reclen name too big (%d > %d) ", dp->d_namlen, NAME_MAX);
"reclen name too big (%u > %u) ", (unsigned)dp->d_namlen, NAME_MAX);
putdir(buf, size)	char *buf;	long size;{	struct direct cvtbuf;	struct odirect *odp;	struct odirect *eodp;	struct direct *dp;	long loc, i;	if (cvtflag) {		eodp = (struct odirect *)&buf[size];		for (odp = (struct odirect *)buf; odp < eodp; odp++)			if (odp->d_ino != 0) {				dcvt(odp, &cvtbuf);				putent(&cvtbuf);			}	} else {		for (loc = 0; loc < size; ) {			dp = (struct direct *)(buf + loc);			if (Bcvt)				swabst((u_char *)"ls", (u_char *) dp);			if (oldinofmt && dp->d_ino != 0) {#				if BYTE_ORDER == BIG_ENDIAN					if (Bcvt)						dp->d_namlen = dp->d_type;#				else					if (!Bcvt)						dp->d_namlen = dp->d_type;#				endif				dp->d_type = DT_UNKNOWN;			}			i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1));			if ((dp->d_reclen & 0x3) != 0 ||			    dp->d_reclen > i ||			    dp->d_reclen < DIRSIZ(0, dp) ||			    dp->d_namlen > NAME_MAX) {				Vprintf(stdout, "Mangled directory: ");				if ((dp->d_reclen & 0x3) != 0)					Vprintf(stdout,					   "reclen not multiple of 4 ");				if (dp->d_reclen < DIRSIZ(0, dp))					Vprintf(stdout,					   "reclen less than DIRSIZ (%d < %d) ",					   dp->d_reclen, DIRSIZ(0, dp));				if (dp->d_namlen > NAME_MAX)					Vprintf(stdout,					   "reclen name too big (%d > %d) ",					   dp->d_namlen, NAME_MAX);				Vprintf(stdout, "\n");				loc += i;				continue;			}			loc += dp->d_reclen;			if (dp->d_ino != 0) {				putent(dp);			}		}	}}