Commit 6d15ed57 authored by Jonas Termansen's avatar Jonas Termansen

Fix incorrect check for zero output block size in rw(1).

parent 23438327
......@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
output_blksize = parse_size_t(output_blksize_str,
input_st.st_blksize,
output_st.st_blksize);
if ( input_blksize == 0 )
if ( output_blksize == 0 )
errx(1, "the output block size cannot be zero");
off_t input_offset = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment