summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar ddennedy 2007-02-14 05:29:18 +0000
committerGravatar ddennedy 2007-02-14 05:29:18 +0000
commitfa981a8b96ec3d09385a0b14b4342e574b7bbe29 (patch)
tree512bc4640fd1f1501d4c2af09469224d881f07b9 /src/main.c
parentbugfix segfault in raw1394_iso_shutdown on no iso activity due to not initial... (diff)
added raw1394_read_cycle_timer, contributed by Pieter Palmers
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@169 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c72bfe1..a6943dd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -103,7 +103,7 @@ static unsigned int init_rawdevice(struct raw1394_handle *h)
}
if (req.error) {
- errno = 0;
+ errno = EPROTO;
return -1;
}
memset(h->buffer, 0, HBUF_SIZE);