$NetBSD: patch-ad,v 1.3 2005/08/05 12:58:49 tonio Exp $ --- misc_ui.c.orig 2005-08-04 11:06:21.000000000 +0200 +++ misc_ui.c 2005-08-04 11:06:42.000000000 +0200 @@ -233,9 +233,9 @@ if (seconds >= 0) { + char bufstr[11] = {0}; int minutes = seconds / 60; seconds -= minutes * 60; - char bufstr[11] = {0}; snprintf(bufstr, 10, "%i:%02i", minutes, seconds);