Skip to content

Commit 8487210

Browse files
committed
Fix typo in 820d0ca
1 parent 820d0ca commit 8487210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static void
9595
utmp_setid(sudo_utmp_t *old, sudo_utmp_t *new)
9696
{
9797
const char *line = new->ut_line;
98-
size_t linelen = strnlen(new->ut_line, sizeof(new->ut_line);
98+
size_t linelen = strnlen(new->ut_line, sizeof(new->ut_line));
9999
debug_decl(utmp_setid, SUDO_DEBUG_UTMP);
100100

101101
/* Skip over "tty" in the id if old entry did too. */

0 commit comments

Comments
 (0)