diff options
Diffstat (limited to 'src/export/extract_version_3.c')
-rw-r--r-- | src/export/extract_version_3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/export/extract_version_3.c b/src/export/extract_version_3.c index c4914a7..329c1a8 100644 --- a/src/export/extract_version_3.c +++ b/src/export/extract_version_3.c | |||
@@ -113,11 +113,11 @@ int main( int args, char **argv ) | |||
113 | /* Open file and dump our de-"crypted" header and then rest of file */ | 113 | /* Open file and dump our de-"crypted" header and then rest of file */ |
114 | fh = open( filename, O_CREAT | O_TRUNC | O_WRONLY, 0644 ); | 114 | fh = open( filename, O_CREAT | O_TRUNC | O_WRONLY, 0644 ); |
115 | if( enc_len > header_len ) { | 115 | if( enc_len > header_len ) { |
116 | write( fh, df, enc_len ); | 116 | (void)write( fh, df, enc_len ); |
117 | write( fh, mf + enc_len, offset - old_offset - enc_len ); | 117 | (void)write( fh, mf + enc_len, offset - old_offset - enc_len ); |
118 | } else { | 118 | } else { |
119 | write( fh, df, header_len ); | 119 | (void)write( fh, df, header_len ); |
120 | write( fh, mf + header_len, offset - old_offset - header_len ); | 120 | (void)write( fh, mf + header_len, offset - old_offset - header_len ); |
121 | } | 121 | } |
122 | close( fh ); | 122 | close( fh ); |
123 | } | 123 | } |