Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the count check to be done after the fru_write call
Since we are checking how many chars was writen and using this as diagnostics for the fru_write call, the count check must be made only if the function is called. In this way, the check must be in the same condition as the function call.
- Loading branch information