1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

Bugfix: Need to open BitForce tty for read-write

This commit is contained in:
Luke Dashjr 2012-02-03 18:21:50 -05:00
parent 4ae7baf0e1
commit 2f903b5d77

@ -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