From 48da5e2bd7fcec69a6c9f21a2a12a6b20a13f4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 7 Sep 2008 21:12:22 +0000 Subject: [PATCH] longer string git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23750 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/com_err/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/com_err/error.c b/lib/com_err/error.c index 81c501e04..dc6eeb3bb 100644 --- a/lib/com_err/error.c +++ b/lib/com_err/error.c @@ -54,7 +54,7 @@ com_right(struct et_list *list, long code) if (code >= p->table->base && code < p->table->base + p->table->n_msgs) { const char *str = p->table->msgs[code - p->table->base]; #ifdef HAVE_LIBINTL - char domain[6 + 1 + 20]; + char domain[12 + 20]; snprintf(domain, sizeof(domain), "heim_com_err%d", p->table->base); #endif return dgettext(domain, str);