From: Frank Mori Hess Date: Thu, 25 Jan 2001 01:23:42 +0000 (+0000) Subject: added exit(1) on buffer resize error X-Git-Tag: r0_7_15~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=60f5a74a1ecbb21e2ef83cb7abc4db6851679bc8;p=comedilib.git added exit(1) on buffer resize error --- 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) {