]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block-dmg.c
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
[mirror_qemu.git] / block-dmg.c
index a46b801994d713339ee423b6cd931066039b4f03..681f4dc7177808dc9024907c8512b668e295f40e 100644 (file)
@@ -28,7 +28,7 @@
 
 typedef struct BDRVDMGState {
     int fd;
-   
+
     /* each chunk contains a certain number of sectors,
      * offsets[i] is the offset in the .dmg file,
      * lengths[i] is the length of the compressed chunk,
@@ -86,7 +86,7 @@ static int dmg_open(BlockDriverState *bs, const char *filename, int flags)
     bs->read_only = 1;
     s->n_chunks = 0;
     s->offsets = s->lengths = s->sectors = s->sectorcounts = 0;
-   
+
     /* read offset of info blocks */
     if(lseek(s->fd,-0x1d8,SEEK_END)<0) {
 dmg_close:
@@ -167,7 +167,7 @@ dmg_close:
        goto dmg_close;
 
     s->current_chunk = s->n_chunks;
-   
+
     return 0;
 }