From 8fd9fad1ea4b25b8962d70133f476650ef0637b0 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 11 Jan 2007 12:45:48 +1100 Subject: Error check messages sent to the kernel. And make sure that if we fail to export a filesystem in mountd, then we don't try to get a filehandle on it, or a deadlock might occur. --- utils/gssd/cacheio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gssd/cacheio.h') diff --git a/utils/gssd/cacheio.h b/utils/gssd/cacheio.h index cc97b36..dfff258 100644 --- a/utils/gssd/cacheio.h +++ b/utils/gssd/cacheio.h @@ -40,7 +40,7 @@ void qword_addeol(char **bpp, int *lp); void qword_print(FILE *f, char *str); void qword_printhex(FILE *f, char *str, int slen); void qword_printint(FILE *f, int num); -void qword_eol(FILE *f); +int qword_eol(FILE *f); int readline(int fd, char **buf, int *lenp); int qword_get(char **bpp, char *dest, int bufsize); int qword_get_int(char **bpp, int *anint); -- cgit