Skip to content
This repository
Browse code

Wrap condition in curlies.

  • Loading branch information...
commit 3fee1100f6f2f98933db9043e73b1ea652493c96 1 parent 6693a27
Ian Leitch authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  vm/builtin/io.cpp
4  vm/builtin/io.cpp
@@ -730,8 +730,10 @@ namespace rubinius {
730 730
 
731 731
     int erno = posix_fadvise(to_fd(), offset->to_long_long(), len->to_long_long(), advice);
732 732
 
733  
-    if (erno)
  733
+    if (erno) {
734 734
       Exception::errno_error(state, "posfix_fadvise(2) failed", erno);
  735
+    }
  736
+
735 737
 #endif
736 738
 
737 739
     return cNil;

0 notes on commit 3fee110

Please sign in to comment.
Something went wrong with that request. Please try again.