aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
commit601d93b47b8ac41f1fd763db15f05b6419c0b398 (patch)
tree768c23fe79bb81583de7376a4d744632d888d303 /libbb/xfuncs.c
parent05fa38a6084b2f829750451d934f18c4dad62776 (diff)
downloadbusybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.gz
busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.bz2
busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.zip
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 850721e3e..4e407e45f 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -397,7 +397,7 @@ char *xasprintf(const char *format, ...)
397 va_end(p); 397 va_end(p);
398#endif 398#endif
399 399
400 if (r < 0) bb_perror_msg_and_die("xasprintf"); 400 if (r < 0) bb_error_msg_and_die(bb_msg_memory_exhausted);
401 return string_ptr; 401 return string_ptr;
402} 402}
403#endif 403#endif