sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 1024369f2da0bb7796ae057d6b8523fdf7dd8a31
parent ac055873858cc8d46390f975bc33e36283311aac
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu, 18 Feb 2016 12:48:10 +0100

ls: make the opendir() warning message more consistent

Print the total file path in the warning message.

Diffstat:
Mls.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ls.c b/ls.c @@ -250,7 +250,7 @@ lsdir(const char *path, const struct entry *dir) if (!(dp = opendir(dir->name))) { ret = 1; - weprintf("opendir %s:", dir->name); + weprintf("opendir %s%s:", path, dir->name); return; } if (chdir(dir->name) < 0)