s3:lib/afs fix the build
authorChristian Ambach <ambi@samba.org>
Mon, 18 Feb 2013 15:55:30 +0000 (16:55 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 19 Feb 2013 16:31:32 +0000 (17:31 +0100)
Fix Bug 9644 - Compile of source3/lib/afs.c fails

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9644

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/afs.c

index 4b6e6ecaf366f6430cbb0889332da443bb7966a7..2d77526dec8d526e91a12bd122a85a116df9e968 100644 (file)
@@ -237,7 +237,7 @@ bool afs_login(connection_struct *conn)
        }
 
        afs_username = talloc_sub_advanced(ctx,
-                               lp_servicename(SNUM(conn)),
+                               lp_servicename(ctx, SNUM(conn)),
                                conn->session_info->unix_info->unix_name,
                                conn->connectpath,
                                conn->session_info->unix_token->gid,