Skip to content

Commit

Permalink
warning clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkerns committed Nov 22, 2024
1 parent e029bc0 commit 77a4c5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sc.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ main (int argc, char **argv)
if (popt)
*revmsg = '\0';
else {
const char *revi;
strlcpy(revmsg, progname, sizeof revmsg);
for (revi = rev; (*revi++) != ':'; ); /* copy after colon */
strlcat(revmsg, revi, sizeof revmsg);
Expand Down

0 comments on commit 77a4c5a

Please sign in to comment.