* smallprintf.cc (__small_vsprintf): Add missing break in 'C' case.

This commit is contained in:
Corinna Vinschen
2014-05-19 10:42:04 +00:00
parent f2e040ce76
commit 02db8ae1db
2 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
/* smallprint.cc: small print routines for WIN32
Copyright 1996, 1998, 2000, 2001, 2002, 2003, 2005, 2006,
2007, 2008, 2009, 2012, 2013
2007, 2008, 2009, 2012, 2013, 2014
Red Hat, Inc.
This file is part of Cygwin.
@@ -201,6 +201,7 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
for (c = buf; *c; ++c)
*dst++ = *c;
}
break;
case 'E':
strcpy (dst, "Win32 error ");
dst = __rn (dst + sizeof ("Win32 error"), 10, 0, err, len, pad, LMASK);