r14329: Fix the build on systems without libcom_err.
authorGünther Deschner <gd@samba.org>
Mon, 13 Mar 2006 17:26:52 +0000 (17:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:25 +0000 (11:15 -0500)
Guenther

source/nsswitch/winbindd_dual.c

index b77f49979922d9ab69408d08969cc19d679bee76..d1ad3330d4cfa87364f94014eea1d1665cf7bf30 100644 (file)
@@ -576,13 +576,13 @@ static void child_msg_online(int msg_type, struct process_id src, void *buf, siz
        ret = nscd_flush_cache("passwd");
        if (ret) {
                DEBUG(5,("failed to flush nscd cache for 'passwd' service: %s\n",
-                       error_message(ret)));
+                       strerror(ret)));
        }
 
        ret = nscd_flush_cache("group");
        if (ret) {
                DEBUG(5,("failed to flush nscd cache for 'group' service: %s\n",
-                       error_message(ret)));
+                       strerror(ret)));
        }
 #endif