Skip to content

Commit

Permalink
Add run time warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstratford committed Aug 14, 2019
1 parent b252771 commit 4e96863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/extract_colloids.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ int main(int argc, char ** argv) {
nread = fread(&ncolloid, sizeof(int), 1, fp_colloids);
assert(nread == 1);
}
if (nread != 1) printf("Warning: problem reading number of collloids\n");

printf("Reading %d colloids from %s\n", ncolloid, argv[1]);

Expand Down

0 comments on commit 4e96863

Please sign in to comment.