summaryrefslogtreecommitdiff
path: root/coreutils/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ln.c')
-rw-r--r--coreutils/ln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 93a283d..cffd4fd 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -54,7 +54,8 @@ int ln_main(int argc, char **argv)
if (is_directory(src,
(flag & LN_NODEREFERENCE) ^ LN_NODEREFERENCE,
- NULL)) {
+ NULL)
+ ) {
src_name = xstrdup(*argv);
src = concat_path_file(src, bb_get_last_path_component(src_name));
free(src_name);