added exit(1) on buffer resize error
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 25 Jan 2001 01:23:42 +0000 (01:23 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 25 Jan 2001 01:23:42 +0000 (01:23 +0000)
comedi_config/comedi_config.c

index 0117905a3f6fc3d72520116fa063514ca6fe6033..463ddd0e331fa43b51b7a68d07221172c437a457 100644 (file)
@@ -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)
                {