Revision fe9f1a6d lib/printf.c

View differences:

lib/printf.c
236 236
		case 'M':
237 237
			s = strerror(va_arg(args, int));
238 238
			goto str;
239
		case 'N':
240
			if (field_width == 1)
241
				field_width = STD_ADDRESS_P_LENGTH; /* XXXX */
242
			net_format(va_arg(args, net_addr *), ipbuf, sizeof(ipbuf));
243
			s = ipbuf;
244
			goto str;
239 245
		case 's':
240 246
			s = va_arg(args, char *);
241 247
			if (!s)

Also available in: Unified diff