diff options
author | mdodd <mdodd@FreeBSD.org> | 2005-02-04 02:13:37 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2005-02-04 02:13:37 +0000 |
commit | c0a4f2af344497baa7d8801fefbd84be2fef47a7 (patch) | |
tree | 8967f37799c91348f2e42b0769f4b43c3556737c /libexec | |
parent | df6317a68e5ee103c4e5e3d718a7bd4319e01528 (diff) | |
download | FreeBSD-src-c0a4f2af344497baa7d8801fefbd84be2fef47a7.zip FreeBSD-src-c0a4f2af344497baa7d8801fefbd84be2fef47a7.tar.gz |
style(9)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/libmap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/rtld-elf/libmap.c b/libexec/rtld-elf/libmap.c index 4705bc6..d683fdb 100644 --- a/libexec/rtld-elf/libmap.c +++ b/libexec/rtld-elf/libmap.c @@ -251,7 +251,7 @@ lml_find (struct lm_list *lmh, const char *f) TAILQ_FOREACH(lm, lmh, lm_link) if (strcmp(f, lm->f) == 0) return (lm->t); - return NULL; + return (NULL); } /* Given an executable name, return a pointer to the translation list or @@ -298,10 +298,9 @@ static const char * quickbasename (const char *path) { const char *p = path; - for (; *path; path++) - { + for (; *path; path++) { if (*path == '/') p = path+1; } - return p; + return (p); } |