Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/su make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/415c3ee81c75
branches:  trunk
changeset: 778750:415c3ee81c75
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 12 15:35:07 2012 +0000

description:
make this compile again.

diffstat:

 usr.bin/su/su.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ac9a592a3e4e -r 415c3ee81c75 usr.bin/su/su.c
--- a/usr.bin/su/su.c   Thu Apr 12 15:31:01 2012 +0000
+++ b/usr.bin/su/su.c   Thu Apr 12 15:35:07 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: su.c,v 1.69 2011/08/31 16:24:58 plunky Exp $   */
+/*     $NetBSD: su.c,v 1.70 2012/04/12 15:35:07 christos Exp $ */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)su.c       8.3 (Berkeley) 4/2/94";*/
 #else
-__RCSID("$NetBSD: su.c,v 1.69 2011/08/31 16:24:58 plunky Exp $");
+__RCSID("$NetBSD: su.c,v 1.70 2012/04/12 15:35:07 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -462,7 +462,7 @@
                warnx("kerberos5: not in %s's ACL.", user);
                goto fail;
        }
-       ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &ccache);
+       ret = krb5_cc_new_unique(context, krb5_mcc_ops.prefix, NULL, &ccache);
        if (ret)
                goto fail;
        ret = krb5_verify_user_lrealm(context, princ, ccache, NULL, TRUE,
@@ -482,7 +482,7 @@
                }
                goto fail;
        }
-       ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &ccache2);
+       ret = krb5_cc_new_unique(context, krb5_mcc_ops.prefix, NULL, &ccache2);
        if (ret) {
                krb5_cc_destroy(context, ccache);
                goto fail;



Home | Main Index | Thread Index | Old Index