added exit(1) on buffer resize error
This commit is contained in:
parent
fd7a408853
commit
60f5a74a1e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue