projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7a408
)
added exit(1) on buffer resize error
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Jan 2001 01:23:42 +0000
(
01:23
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Jan 2001 01:23:42 +0000
(
01:23
+0000)
comedi_config/comedi_config.c
patch
|
blob
|
history
diff --git
a/comedi_config/comedi_config.c
b/comedi_config/comedi_config.c
index 0117905a3f6fc3d72520116fa063514ca6fe6033..463ddd0e331fa43b51b7a68d07221172c437a457 100644
(file)
--- 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)
{