Ignore:
Timestamp:
Nov 4, 2007, 3:16:40 AM (16 years ago)
Author:
Bruno Cornec
Message:

Update to busybox 1.7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi-busybox/libbb/perror_msg_and_die.c

    r821 r1765  
    88 */
    99
    10 #include <stdio.h>
    11 #include <errno.h>
    12 #include <string.h>
    13 #include <stdlib.h>
    1410#include "libbb.h"
    1511
     
    1915
    2016    va_start(p, s);
    21     bb_vperror_msg(s, p);
     17    /* Guard against "<error message>: Success" */
     18    bb_verror_msg(s, p, errno ? strerror(errno) : NULL);
    2219    va_end(p);
    23     exit(bb_default_error_retval);
     20    xfunc_die();
    2421}
Note: See TracChangeset for help on using the changeset viewer.