]> arthur.barton.de Git - netatalk.git/blobdiff - etc/uams/uams_dhx2_passwd.c
netatalk: fix a crash on Solaris when registering with mDNS
[netatalk.git] / etc / uams / uams_dhx2_passwd.c
index a2737d0f920f90b746df9efc8c0495409a7cba7e..b74cc124f7b59cd2127713e90a7ea049db6c24cf 100644 (file)
@@ -603,7 +603,7 @@ static int passwd_logincont(void *obj, struct passwd **uam_pwd,
     return ret;
 }
 
-static int uam_setup(const char *path)
+static int uam_setup(void *obj, const char *path)
 {
     if (uam_register(UAM_SERVER_LOGIN_EXT, path, "DHX2", passwd_login,
                      passwd_logincont, NULL, passwd_login_ext) < 0)