diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-06 18:45:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-06 18:45:59 +0000 |
commit | 9df203f876c617f67304fe436a339289dbbaf814 (patch) | |
tree | 9c357d5484bb8cf368c4eac880161174c83be73d /source3/passdb | |
parent | df68e652d6411f11d9cb00aefb15c8a62ef1f149 (diff) | |
download | samba-9df203f876c617f67304fe436a339289dbbaf814.tar.gz samba-9df203f876c617f67304fe436a339289dbbaf814.tar.bz2 samba-9df203f876c617f67304fe436a339289dbbaf814.zip |
Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
(This used to be commit ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 3bb49091e6..640be5b108 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -63,7 +63,7 @@ BOOL initialize_password_db(BOOL reload) if ((pdb_handle=sys_dlopen (modulename, RTLD_LAZY)) == NULL) { DEBUG(0,("initialize_password_db: ERROR - Unable to open passdb module \"%s\"!\n%s\n", - modulename, dlerror())); + modulename, sys_dlerror())); } else DEBUG(1,("initialize_password_db: passdb module \"%s\" loaded successfully\n", modulename)); @@ -76,7 +76,7 @@ BOOL initialize_password_db(BOOL reload) if ((pdb_handle=sys_dlopen ("libpdbfile.so", RTLD_LAZY)) == NULL) { DEBUG(0,("initialize_password_db: ERROR - Unable to open \"libpdbfile.so\" passdb module! No user authentication possible!\n%s\n", - dlerror())); + sys_dlerror())); return False; } else |