about summary refs log tree commit diff
path: root/nss/nss_db/db-XXX.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nss_db/db-XXX.c')
-rw-r--r--nss/nss_db/db-XXX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_db/db-XXX.c b/nss/nss_db/db-XXX.c
index 9115000d15..0b55cd2474 100644
--- a/nss/nss_db/db-XXX.c
+++ b/nss/nss_db/db-XXX.c
@@ -122,7 +122,7 @@ lookup (DBT *key, struct STRUCTURE *result,
   err = DL_CALL_FCT (db->get, (db->db, NULL, key, &value, 0));
   if (err != 0)
     {
-      if (err == DB_NOTFOUND)
+      if (err == db_notfound)
 	{
 	  H_ERRNO_SET (HOST_NOT_FOUND);
 	  status = NSS_STATUS_NOTFOUND;