diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-05-19 10:42:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-05-19 10:42:04 +0000 |
commit | 02db8ae1db7fe281ab5d87785c48b1c03bfdc6df (patch) | |
tree | aa42bc6a66903986f8fb781d86ac7c0d4efaa579 /winsup/cygwin/smallprint.cc | |
parent | f2e040ce763136e9ac7cf2757da54220093dcc69 (diff) | |
download | newlib-02db8ae1db7fe281ab5d87785c48b1c03bfdc6df.zip newlib-02db8ae1db7fe281ab5d87785c48b1c03bfdc6df.tar.gz newlib-02db8ae1db7fe281ab5d87785c48b1c03bfdc6df.tar.bz2 |
* smallprintf.cc (__small_vsprintf): Add missing break in 'C' case.
Diffstat (limited to 'winsup/cygwin/smallprint.cc')
-rw-r--r-- | winsup/cygwin/smallprint.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/smallprint.cc b/winsup/cygwin/smallprint.cc index e3e238f..a1e0f70 100644 --- a/winsup/cygwin/smallprint.cc +++ b/winsup/cygwin/smallprint.cc @@ -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); |