sbase

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

commit 351ea92e868c3ff1803f4023ea3021eebbb831ce
parent 12ad56382b71f2e150f0ce0c301cef1d3445d39a
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu Feb 18 12:48:10 +0100

ls: make the opendir() warning message more consistent

Print the total file path in the warning message.

Diffstat:
ls.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)