Browse Source

Bugfix: Need to open BitForce tty for read-write

nfactor-troky
Luke Dashjr 13 years ago
parent
commit
2f903b5d77
  1. 2
      bitforce.c

2
bitforce.c

@ -41,7 +41,7 @@ static int BFopen(const char *devpath) @@ -41,7 +41,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