[ASAN][NFC] Improve language
GitOrigin-RevId: 0b3d31222df9a07ce137cac1fc16995911c547ba
diff --git a/test/sanitizer_common/TestCases/Posix/getpass.cpp b/test/sanitizer_common/TestCases/Posix/getpass.cpp
index c65bcbd..d8cef55 100644
--- a/test/sanitizer_common/TestCases/Posix/getpass.cpp
+++ b/test/sanitizer_common/TestCases/Posix/getpass.cpp
@@ -26,18 +26,18 @@
int
main (int argc, char** argv)
{
- int master;
- int pid = forkpty(&master, NULL, NULL, NULL);
+ int m;
+ int pid = forkpty(&m, NULL, NULL, NULL);
if(pid == -1) {
fprintf(stderr, "forkpty failed\n");
return 1;
} else if (pid > 0) {
char buf[1024];
- int res = read(master, buf, sizeof(buf));
+ int res = read(m, buf, sizeof(buf));
write(1, buf, res);
- write(master, "password\n", 9);
- while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
+ write(m, "password\n", 9);
+ while ((res = read(m, buf, sizeof(buf))) > 0) write(1, buf, res);
} else {
char *s = getpass("prompt");
assert(strcmp(s, "password") == 0);