summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/afsutil/afslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/appl/afsutil/afslog.c')
-rw-r--r--crypto/heimdal/appl/afsutil/afslog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/heimdal/appl/afsutil/afslog.c b/crypto/heimdal/appl/afsutil/afslog.c
index fd104df..0d85a1e 100644
--- a/crypto/heimdal/appl/afsutil/afslog.c
+++ b/crypto/heimdal/appl/afsutil/afslog.c
@@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: afslog.c,v 1.21.2.1 2003/04/23 18:04:26 lha Exp $");
+RCSID("$Id: afslog.c,v 1.21.2.2 2003/08/25 11:43:51 lha Exp $");
#endif
#include <ctype.h>
#ifdef KRB5
@@ -246,6 +246,8 @@ do_afslog(const char *cell)
return 0;
}
#endif
+ if (cell == NULL)
+ cell = "<default cell>";
#ifdef KRB5
if (k5ret)
warnx("krb5_afslog(%s): %s", cell, krb5_get_err_text(context, k5ret));
OpenPOWER on IntegriCloud