Skip to content

Commit

Permalink
Merge pull request #64 from junyu33/master
Browse files Browse the repository at this point in the history
fix: compile error on ./nemu/tools/gen-expr/gen-expr.c
  • Loading branch information
sashimi-yzh committed May 3, 2023
2 parents 773a409 + c3baa4a commit d45855a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen-expr/gen-expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
assert(fp != NULL);

int result;
fscanf(fp, "%d", &result);
ret = fscanf(fp, "%d", &result);
pclose(fp);

printf("%u %s\n", result, buf);
Expand Down

0 comments on commit d45855a

Please sign in to comment.