From 60f5a74a1ecbb21e2ef83cb7abc4db6851679bc8 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 25 Jan 2001 01:23:42 +0000 Subject: [PATCH] added exit(1) on buffer resize error --- comedi_config/comedi_config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi_config/comedi_config.c b/comedi_config/comedi_config.c index 0117905..463ddd0 100644 --- a/comedi_config/comedi_config.c +++ b/comedi_config/comedi_config.c @@ -266,6 +266,7 @@ int main(int argc,char *argv[]) if(ioctl(fd, COMEDI_BUFCONFIG, &bc) < 0) { perror("buffer resize error"); + exit(1); } if(verbose) { -- 2.26.2