We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820d0ca commit 8487210Copy full SHA for 8487210
src/utmp.c
@@ -95,7 +95,7 @@ static void
95
utmp_setid(sudo_utmp_t *old, sudo_utmp_t *new)
96
{
97
const char *line = new->ut_line;
98
- size_t linelen = strnlen(new->ut_line, sizeof(new->ut_line);
+ size_t linelen = strnlen(new->ut_line, sizeof(new->ut_line));
99
debug_decl(utmp_setid, SUDO_DEBUG_UTMP);
100
101
/* Skip over "tty" in the id if old entry did too. */
0 commit comments