Reduce space for error bufer from 512 to 128: there is no such long strings
can be returned from strerror()
This commit is contained in:
Andrey A. Chernov 1997-04-02 04:24:39 +00:00
parent 81d9597ce7
commit 28804f92db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24531

View File

@ -29,6 +29,9 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
*
*/
#ifndef lint
@ -121,7 +124,7 @@ int uu_unlock (char *ttyname)
char *uu_lockerr (int uu_lockresult)
{
static char errbuf[512];
static char errbuf[128];
char *fmt;
switch (uu_lockresult) {