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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user