aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-02 16:39:06 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-07-02 16:39:06 +0530
commit55d916921f4c13f66395fc6742543c33ad261d00 (patch)
tree94b5b34852d6b2a0cb0d090c66d5807b66781505 /nnn.c
parent166e31b512f3498e4f38f93aa0fb02bcc2705c59 (diff)
downloadnnn-55d916921f4c13f66395fc6742543c33ad261d00.tar.gz
Show correct information for symbolic links
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nnn.c b/nnn.c
index 1c35b05..93feadd 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1346,6 +1346,7 @@ show_stats(char *fpath, char *fname, struct stat *sb)
g_buf[len] = '\0';
dprintf(fd, " File: '%s' -> ", unescape(fname));
dprintf(fd, "'%s'", unescape(g_buf));
+ xstrlcpy(g_buf, "symbolic link", MAX_CMD_LEN);
}
} else
dprintf(fd, " File: '%s'", unescape(fname));