Skip to content

Commit ad11405

Browse files
committed
test: use const pointer
1 parent e610df3 commit ad11405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/get_devices.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ static void test_new_credentials(const char *username) {
749749
}
750750

751751
int main(void) {
752-
struct passwd *pwd;
752+
const struct passwd *pwd;
753753
char *username;
754754

755755
assert((pwd = getpwuid(geteuid())) != NULL);

0 commit comments

Comments
 (0)