X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fgssd%2Fsvcgssd_proc.c;h=6f2ba61e31edfc62c5b60bf379c80b0631690299;hp=1d13532be3a8ccac4c1e22d2c34173949f860b66;hb=7de6c8c54ac195d659c8ac2d2ac01ef47c6c3ecd;hpb=09c7ad1cd9c5ca2fc46631a0057d47309abc8706 diff --git a/utils/gssd/svcgssd_proc.c b/utils/gssd/svcgssd_proc.c index 1d13532..6f2ba61 100644 --- a/utils/gssd/svcgssd_proc.c +++ b/utils/gssd/svcgssd_proc.c @@ -33,6 +33,10 @@ */ +#ifdef HAVE_CONFIG_H +#include +#endif /* HAVE_CONFIG_H */ + #include #include #include @@ -105,6 +109,10 @@ do_svc_downcall(gss_buffer_desc *out_handle, struct svc_cred *cred, qword_print(f, fname); qword_printhex(f, context_token->value, context_token->length); err = qword_eol(f); + if (err) { + printerr(1, "WARNING: error writing to downcall channel " + "%s: %s\n", SVCGSSD_CONTEXT_CHANNEL, strerror(errno)); + } fclose(f); return err; out_err: