diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-27 23:37:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-27 23:37:26 +0000 |
commit | 2a23bccf8a16580a8c6a736baa8e63d474314dfe (patch) | |
tree | 260a766584840306fc2517045fa13142dd3d1e5b /libexec/ld.so | |
parent | 0d046adcddcf3a7c2e1c2d631ec8ca38a877b4a6 (diff) |
KNF
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/sod.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libexec/ld.so/sod.c b/libexec/ld.so/sod.c index f41a61f79d3..5abc8cbecf5 100644 --- a/libexec/ld.so/sod.c +++ b/libexec/ld.so/sod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sod.c,v 1.12 2002/05/25 02:46:09 drahn Exp $ */ +/* $OpenBSD: sod.c,v 1.13 2002/05/27 23:37:25 deraadt Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -228,12 +228,12 @@ _dl_findhint(name, major, minor, prefered_path) if (_dl_strcmp(name, hstrtab + bp->hi_namex) == 0) { /* It's `name', check version numbers */ if (bp->hi_major == major && - (bp->hi_ndewey < 2 || bp->hi_minor >= minor)) { - if (prefered_path == NULL || - _dl_strncmp(prefered_path, - hstrtab + bp->hi_pathx, - _dl_strlen(prefered_path)) == 0) - return hstrtab + bp->hi_pathx; + (bp->hi_ndewey < 2 || bp->hi_minor >= minor)) { + if (prefered_path == NULL || + _dl_strncmp(prefered_path, + hstrtab + bp->hi_pathx, + _dl_strlen(prefered_path)) == 0) + return hstrtab + bp->hi_pathx; } } |