aboutsummaryrefslogtreecommitdiff
path: root/debianutils/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/readlink.c')
-rw-r--r--debianutils/readlink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/debianutils/readlink.c b/debianutils/readlink.c
index 79f0870ec..10fb01ebf 100644
--- a/debianutils/readlink.c
+++ b/debianutils/readlink.c
@@ -7,11 +7,11 @@
7 * Licensed under GPL v2, see file LICENSE in this tarball for details. 7 * Licensed under GPL v2, see file LICENSE in this tarball for details.
8 */ 8 */
9 9
10#include "busybox.h"
10#include <errno.h> 11#include <errno.h>
11#include <unistd.h> 12#include <unistd.h>
12#include <stdlib.h> 13#include <stdlib.h>
13#include <getopt.h> 14#include <getopt.h>
14#include "busybox.h"
15 15
16#define READLINK_FLAG_f (1 << 0) 16#define READLINK_FLAG_f (1 << 0)
17 17
@@ -33,7 +33,8 @@ int readlink_main(int argc, char **argv)
33 return EXIT_FAILURE; 33 return EXIT_FAILURE;
34 puts(buf); 34 puts(buf);
35 35
36 if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1) free(buf); 36 if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1)
37 free(buf);
37 38
38 return EXIT_SUCCESS; 39 return EXIT_SUCCESS;
39} 40}