Permalink
Browse files

Wrap condition in curlies.

  • Loading branch information...
1 parent 6693a27 commit 3fee1100f6f2f98933db9043e73b1ea652493c96 @ileitch ileitch committed May 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vm/builtin/io.cpp
View
4 vm/builtin/io.cpp
@@ -730,8 +730,10 @@ namespace rubinius {
int erno = posix_fadvise(to_fd(), offset->to_long_long(), len->to_long_long(), advice);
- if (erno)
+ if (erno) {
Exception::errno_error(state, "posfix_fadvise(2) failed", erno);
+ }
+
#endif
return cNil;

0 comments on commit 3fee110

Please sign in to comment.