Skip to content

Commit

Permalink
Merge pull request #110 from bendem/feature/error-code
Browse files Browse the repository at this point in the history
Return the status of the device as error code
  • Loading branch information
AltraMayor committed Mar 4, 2019
2 parents fead723 + 90ed489 commit 3a25af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion f3probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ static int test_device(struct args *args)
}

free((void *)final_dev_filename);
return 0;
return fake_type == FKTY_GOOD ? 0 : 100 + fake_type;
}

int main(int argc, char **argv)
Expand Down

0 comments on commit 3a25af5

Please sign in to comment.