From 43f7f14f2c5464282a62435572e160ba55b7e10a Mon Sep 17 00:00:00 2001 From: compudj Date: Sun, 4 Dec 2005 18:39:33 +0000 Subject: [PATCH] genevent fix : important git-svn-id: http://ltt.polymtl.ca/svn@1376 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent-new/genevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genevent-new/genevent.c b/genevent-new/genevent.c index aabc6997..69e3e151 100644 --- a/genevent-new/genevent.c +++ b/genevent-new/genevent.c @@ -1439,7 +1439,7 @@ int print_event_logging_function(char *basename, facility_t *fac, fprintf(fd, "&before_hdr_pad, &after_hdr_pad, &header_size);\n"); /* If error, return */ print_tabs(2, fd); - fprintf(fd, "if(!buffer) return;\n\n"); + fprintf(fd, "if(!buffer) continue; /* buffer full */\n\n"); /* Write event header */ print_tabs(2, fd); fprintf(fd, "ltt_write_event_header(trace, channel, buffer,\n"); -- 2.34.1