From d3c2605d579c3ede76c249f769bb985fdf14e6b9 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Wed, 18 Oct 2017 01:40:40 +0200 Subject: [PATCH] libc: set ERRMAX to 128 (to match genbuf in the kernel's Proc structure) --- sys/include/libc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/libc.h b/sys/include/libc.h index 75d0ffd..31c504f 100644 --- a/sys/include/libc.h +++ b/sys/include/libc.h @@ -487,7 +487,7 @@ extern void jehanne_freenetconninfo(NetConnInfo*); */ #define STATMAX 65535U /* max length of machine-independent stat structure */ #define DIRMAX (sizeof(Dir)+STATMAX) /* max length of Dir structure */ -#define ERRMAX 256 /* max length of error string */ +#define ERRMAX 128 /* max length of error string */ #define MORDER 0x0003 /* mask for bits defining order of mounting */ #define MREPL 0x0000 /* mount replaces object */