summaryrefslogtreecommitdiffstats
path: root/src/basic/terminal-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-05-17 08:54:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-06-19 16:28:28 +0200
commitbfd5a0687fcc65e5617d5bab69ff653393f23e70 (patch)
tree10f216d7a6ebdd984df003259c5b84fe139a91bd /src/basic/terminal-util.c
parentFix confusion between killer and prey (diff)
downloadsystemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.tar.xz
systemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.zip
various: move const ptr indicator to return value
Diffstat (limited to 'src/basic/terminal-util.c')
-rw-r--r--src/basic/terminal-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c
index dda592089c..787ae7abac 100644
--- a/src/basic/terminal-util.c
+++ b/src/basic/terminal-util.c
@@ -790,7 +790,7 @@ bool tty_is_vc_resolve(const char *tty) {
return tty_is_vc(tty);
}
-const char *default_term_for_tty(const char *tty) {
+const char* default_term_for_tty(const char *tty) {
return tty && tty_is_vc_resolve(tty) ? "linux" : "vt220";
}