commit 9acc82e8767b5566629584d80cd8c22505deaa0c
parent 9fd06b0d1bdbc8cac24a9dd9a0bce8fe570a512f
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 21:07:28 +0200
fixed filename output to prepend directory when specified
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/wendy.c b/wendy.c
@@ -232,13 +232,13 @@ main (int argc, char **argv)
if (verbose) {
if (ev->mask & IN_IGNORED) {
- printf("!\t%s\n", ev->len? ev->name:
- wd_name(ev->wd));
+ printf("!!\t%s/%s\n", wd_name(ev->wd),
+ ev->len? ev->name: "");
nb--;
}
- printf("%u\t%s\n", ev->mask, ev->len?
- ev->name: wd_name(ev->wd));
+ printf("%u\t%s/%s\n", ev->mask, wd_name(ev->wd),
+ ev->len? ev->name: "");
fflush(stdout);
}