Skip to content
Snippets Groups Projects
Commit 64d20f88 authored by Chris's avatar Chris
Browse files

bugfix of bugfix

parent 4ac93780
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ void read_cpu_temp() {
//write pipe
const char *pOne = "/tmp/pipeOne";
int vOne = open(pOne, O_WRONLY O_NONBLOCK);//todo: | O_NONBLOCK
int vOne = open(pOne, O_WRONLY | O_NONBLOCK);//todo: | O_NONBLOCK
if (vOne == -1){
perror("Failed to open pipe one in read_cpu_temp");
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment