~lbnz/xr0

b6b97a6f465033a2f38444e1c79075f933571e35 — Amisi Kiarie 2 months ago ba71e4a fix/error-printf
voidptr
1 files changed, 2 insertions(+), 2 deletions(-)

M src/util/util.c
M src/util/util.c => src/util/util.c +2 -2
@@ 332,7 332,7 @@ error_nest(struct error *outer, struct error *inner)
struct error *
error_printf(char *fmt, ...)
{
	char *otherfmt; char *otherarg;
	char *otherfmt; void *otherarg;
	struct error *inner;

	struct error *err = calloc(1, sizeof(struct error));


@@ 357,7 357,7 @@ error_printf(char *fmt, ...)
			break;
		case 's':
			otherfmt = findnextfmt(&p);
			otherarg = va_arg(ap, char *);
			otherarg = va_arg(ap, void *);
			strbuilder_printf(b, otherfmt, otherarg);
			free(otherfmt);
			p--; /* prepare for increment */