Using the new ylog.h everywhere, and fixing what that breaks!
[idzebra-moved-to-github.git] / util / passwddb.c
index 3db6189..445d79f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: passwddb.c,v 1.7 2002-08-02 19:26:57 adam Exp $
+/* $Id: passwddb.c,v 1.8 2004-11-19 10:27:17 heikki Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -36,7 +36,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include <crypt.h>
 #endif
 
-#include <yaz/log.h>
+#include <yaz/ylog.h>
 #include <yaz/xmalloc.h>
 
 #include <passwddb.h>
@@ -122,7 +122,7 @@ void passwd_db_show (Passwd_db db)
 {
        struct passwd_entry *pe;
        for (pe = db->entries; pe; pe = pe->next)
-               logf (LOG_LOG,"%s:%s", pe->name, pe->des);
+               yaz_log (YLOG_LOG,"%s:%s", pe->name, pe->des);
 }
 
 int passwd_db_auth (Passwd_db db, const char *user, const char *pass)