From 247c88694bd583af7967c9d785d5c3ebbd843de5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Jul 2000 22:09:09 +0000 Subject: Update. * nss/makedb.c (main): Compare result of load_db with NSS_STATUS_SUCCESS and not 0. Patch by Jan Rekorajski . --- nss/makedb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss') 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. */ -- cgit 1.4.1