Thanks Wang.

> s/btrfs_progs/btrfs-progs?

 yeah. updated my script.

>> +
>> +zero_dev_error:
>> +    if (ret) {
>> +            ret < 0 ?
>> +            fprintf(stderr, "ERROR: failed to zero device start '%s' - 
>> %s\n",
>> +                    file, strerror(-ret)) :
>> +            fprintf(stderr, "ERROR: failed to zero device start '%s' - 
>> %d\n",
>> +                    file, ret);
> 
> Why we output message twice hereā€¦.

 Not really. there is "ret < 0 ?"

-Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to