diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-09-18 17:56:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-09-18 17:56:14 +0000 |
commit | b2c71bcefc5388591c3bfd05abec9ef1d170b33f (patch) | |
tree | 6b4e51e3df36ca6ba349b4c5bb4fa5f05487f827 /usr.bin | |
parent | 7d144ba6dc270b9dac0c706566edd960e20144aa (diff) | |
download | src-test2-b2c71bcefc5388591c3bfd05abec9ef1d170b33f.tar.gz src-test2-b2c71bcefc5388591c3bfd05abec9ef1d170b33f.zip |
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/soelim/soelim.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++; |