summaryrefslogtreecommitdiff
path: root/libbb/xreadlink.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-10 01:28:19 +0000
committerDenis Vlasenko2007-11-10 01:28:19 +0000
commitd031b203c7ea7f5fe7ba8dfb16693bc91b3feaea (patch)
tree2cbc5fb25bea68cda0a90bf39cbe89d483a20b0c /libbb/xreadlink.c
parent9bd8d0c23e867238bad53b04a029f71db9b88c3f (diff)
downloadbusybox-d031b203c7ea7f5fe7ba8dfb16693bc91b3feaea.zip
busybox-d031b203c7ea7f5fe7ba8dfb16693bc91b3feaea.tar.gz
syslogd: support "symlink to symlink" for /dev/log; reduce stack usage
function old new delta create_socket - 134 +134 syslogd_main 1132 865 -267 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 134/-267) Total: -133 bytes text data bss dec hex filename 775603 974 9420 785997 bfe4d busybox_old 775445 974 9420 785839 bfdaf busybox_unstripped
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r--libbb/xreadlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c
index 0b6eb05..706a3d9 100644
--- a/libbb/xreadlink.c
+++ b/libbb/xreadlink.c
@@ -65,7 +65,7 @@ char *xmalloc_follow_symlinks(const char *path)
if (!--looping) {
free(linkpath);
-free_buf_ret_null:
+ free_buf_ret_null:
free(buf);
return NULL;
}