aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rb/rb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rb/rb.c b/rb/rb.c
index e3efd24..34e7c94 100644
--- a/rb/rb.c
+++ b/rb/rb.c
@@ -687,7 +687,7 @@ struct rb *rb_new
* and return, as we don't need to init pthread elements.
*/
- flags |= O_NONBLOCK;
+ rb->flags |= O_NONBLOCK;
return rb;
}