Skip to content

Commit

Permalink
fix: compile error on ./nemu/tools/gen-expr/gen-expr.c
Browse files Browse the repository at this point in the history
  • Loading branch information
junyu33 committed May 2, 2023
1 parent 773a409 commit c3baa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen-expr/gen-expr.c
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 c3baa4a

Please sign in to comment.