Browse Source

Merge pull request #102 from luke-jr/bugfix_bitforce_linux_rw

Bugfix: Need to open BitForce tty for read-write
nfactor-troky
Con Kolivas 13 years ago
parent
commit
060ff71907
  1. 2
      bitforce.c

2
bitforce.c

@ -46,7 +46,7 @@ static int BFopen(const char *devpath) @@ -46,7 +46,7 @@ static int BFopen(const char *devpath)
static int BFopen(const char *devpath)
{
return open(devpath, O_CLOEXEC | O_NOCTTY);
return open(devpath, O_RDWR | O_CLOEXEC | O_NOCTTY);
}
#endif

Loading…
Cancel
Save