summaryrefslogtreecommitdiff
path: root/emulator/serial.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:31:58 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit048f2ac0e4fcc19cf9b1f8fc9525a1dec21ab87f (patch)
tree8f326ce2b19c64ded6f6efcf8e67a157fd40bb14 /emulator/serial.c
parent7582f36071830764eaebde98d336a6d3620a4bb4 (diff)
downloadbluez-048f2ac0e4fcc19cf9b1f8fc9525a1dec21ab87f.tar.gz
emulator: Inclusive language changes
BT core spec 5.3 promotes the usage of inclusive languages. This CL replaces some terms with the more appropriate counterparts, such as "central", "peripheral", and "accept list". Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'emulator/serial.c')
-rw-r--r--emulator/serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/emulator/serial.c b/emulator/serial.c
index b44af0dcc..c9e6d7cd6 100644
--- a/emulator/serial.c
+++ b/emulator/serial.c
@@ -151,19 +151,19 @@ static void open_pty(struct serial *serial)
serial->fd = posix_openpt(O_RDWR | O_NOCTTY);
if (serial->fd < 0) {
- perror("Failed to get master pseudo terminal");
+ perror("Failed to get central pseudo terminal");
return;
}
if (grantpt(serial->fd) < 0) {
- perror("Failed to grant slave pseudo terminal");
+ perror("Failed to grant peripheral pseudo terminal");
close(serial->fd);
serial->fd = -1;
return;
}
if (unlockpt(serial->fd) < 0) {
- perror("Failed to unlock slave pseudo terminal");
+ perror("Failed to unlock peripheral pseudo terminal");
close(serial->fd);
serial->fd = -1;
return;