Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix minor alignment issue.

  • Loading branch information...
commit 1faf6aa901ddf23251bc7355587b15655c5d8b31 1 parent e072ed4
Jonathan Knowles jonathanknowles authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 Data/Vhd.hs
8 Data/Vhd.hs
@@ -185,10 +185,10 @@ create' filePath createParams =
185 185 -- | Reads raw data from a VHD chain.
186 186 read :: Vhd -> Word64 -> Word64 -> IO BL.ByteString
187 187 read vhd inclusiveLowerBoundBytes exclusiveUpperBoundBytes
188   - | lo < 0 = error "lower bound cannot be less than zero."
189   - | lo > hi = error "lower bound cannot be greater than upper bound."
190   - | hi > max = error "upper bound cannot be greater than VHD length."
191   - | otherwise = fmap (trim . BL.fromChunks) (sequence blocks)
  188 + | lo < 0 = error "lower bound cannot be less than zero."
  189 + | lo > hi = error "lower bound cannot be greater than upper bound."
  190 + | hi > max = error "upper bound cannot be greater than VHD length."
  191 + | otherwise = fmap (trim . BL.fromChunks) (sequence blocks)
192 192 where
193 193 (lo, hi) = (inclusiveLowerBoundBytes, exclusiveUpperBoundBytes)
194 194 max = vhdLength vhd

0 comments on commit 1faf6aa

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