diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2004-04-01 19:12:45 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2004-04-01 19:12:45 +0000 |
| commit | 8074e24dce9b47fb5f24ac67f0e1b4c50fcd68df (patch) | |
| tree | d83eb1fd83cda4bb71ec6c51ae83556ee9779bd0 /lib | |
| parent | 10030054ac0d388845fea6089bbf516de0d834b5 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/net/nsdispatch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/net/nsdispatch.c b/lib/libc/net/nsdispatch.c index 7dd908626282..c9be76396567 100644 --- a/lib/libc/net/nsdispatch.c +++ b/lib/libc/net/nsdispatch.c @@ -343,10 +343,8 @@ nss_configure(void) goto fin2; } _nsyyin = fopen(path, "r"); - if (_nsyyin == NULL) { - result = errno; + if (_nsyyin == NULL) goto fin; - } VECTOR_FREE(_nsmap, &_nsmapsize, sizeof(*_nsmap), (vector_free_elem)ns_dbt_free); VECTOR_FREE(_nsmod, &_nsmodsize, sizeof(*_nsmod), |
