Skip to content

Commit

Permalink
added filename to listing
Browse files Browse the repository at this point in the history
  • Loading branch information
sehugg committed Sep 18, 2016
1 parent b3cdc16 commit 69b1db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ static void outlistfile(const char *comment)
else
ptr = "";

sprintf(buf1, "%7ld %c%s", pIncfile->lineno, c, sftos(Plab, Pflags & 7));
sprintf(buf1, "%7ld %20s %c%s", pIncfile->lineno, pIncfile->name, c, sftos(Plab, Pflags & 7));
j = strlen(buf1);
for (i = 0; i < Glen && i < 4; ++i, j += 3)
sprintf(buf1+j, "%02x ", Gen[i]);
Expand Down

0 comments on commit 69b1db6

Please sign in to comment.