From b2c71bcefc5388591c3bfd05abec9ef1d170b33f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 18 Sep 2016 17:56:14 +0000 Subject: [PATCH] style(9) fix Reported by: oshogbo --- usr.bin/soelim/soelim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/soelim/soelim.c b/usr.bin/soelim/soelim.c index 3266fe34ade0..9fe2418cad4c 100644 --- a/usr.bin/soelim/soelim.c +++ b/usr.bin/soelim/soelim.c @@ -58,6 +58,7 @@ usage(void) static const char * relpath(const char *path) { + while (*path == '/' && *path != '\0') path++;