diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 22:09:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 22:09:09 +0000 |
commit | 247c88694bd583af7967c9d785d5c3ebbd843de5 (patch) | |
tree | 68ed6f498e8f9a55dd1fad856830e5bc24811adc /nss/makedb.c | |
parent | 695a076385ac3b4f4e3aed34945e4c5c7606503f (diff) | |
download | glibc-247c88694bd583af7967c9d785d5c3ebbd843de5.tar.gz glibc-247c88694bd583af7967c9d785d5c3ebbd843de5.tar.xz glibc-247c88694bd583af7967c9d785d5c3ebbd843de5.zip |
Update.
* nss/makedb.c (main): Compare result of load_db with NSS_STATUS_SUCCESS and not 0. Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
Diffstat (limited to 'nss/makedb.c')
-rw-r--r-- | nss/makedb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/makedb.c b/nss/makedb.c index 06bd18a777..191da55a90 100644 --- a/nss/makedb.c +++ b/nss/makedb.c @@ -138,7 +138,7 @@ main (int argc, char *argv[]) /* First load the shared object to initialize version dependend variables. */ - if (load_db ()) + if (load_db () != NSS_STATUS_SUCCESS) error (EXIT_FAILURE, 0, gettext ("No usable database library found.")); /* Special handling if we are asked to print the database. */ |