projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65043b3
)
fixed a bug I made
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 16 May 2002 16:09:44 +0000
(16:09 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 16 May 2002 16:09:44 +0000
(16:09 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 66e1a342b78df97ee8e3e7cd0fd07984b44ced8f..0cc81a907bd8e9db9a74b01ed9ec84d2236ac022 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-1351,7
+1351,7
@@
static ssize_t comedi_write_v22(struct file *file,const char *buf,size_t nbytes,
m = async->buf_int_ptr - async->buf_user_ptr;
if( m < 0 )
- m = async->data_len - async->buf_user_
count
;
+ m = async->data_len - async->buf_user_
ptr
;
if(m < n) n = m;