LibC: Fix getpwend gid field :)

This commit is contained in:
Bananymous 2024-12-02 05:02:27 +02:00
parent f0e54cdd51
commit 9d97964998
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ struct passwd* getpwent(void)
ASSERT(1 <= field_len && field_len <= 9);
for (size_t j = 0; j < field_len; j++)
ASSERT(isdigit(ptr[j]));
s_pwent_struct.pw_uid = atoi(ptr);
s_pwent_struct.pw_gid = atoi(ptr);
break;
case 4:
break;