From 393dfc1f956ef2c62517ce23e5d9e1b54a2c11fa Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Wed, 20 Feb 2008 06:50:00 -0600 Subject: [PATCH] %.*s, not %*s --- moo/mooutils/moospawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moo/mooutils/moospawn.c b/moo/mooutils/moospawn.c index 84d02169..e97460d6 100644 --- a/moo/mooutils/moospawn.c +++ b/moo/mooutils/moospawn.c @@ -293,7 +293,7 @@ process_line (MooCmd *cmd, if (!real_line) { - g_warning ("%s: could not convert text to UTF-8:\n%*s", + g_warning ("%s: could not convert text to UTF-8:\n%.*s", G_STRLOC, (int) len, line); g_warning ("%s: %s", G_STRLOC, error->message); }