mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Merge pull request #102 from luke-jr/bugfix_bitforce_linux_rw
Bugfix: Need to open BitForce tty for read-write
This commit is contained in:
commit
060ff71907
@ -46,7 +46,7 @@ static int BFopen(const char *devpath)
|
|||||||
|
|
||||||
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user