]> git.ipfire.org Git - thirdparty/systemd.git/commit
terminal: don't hardcode major number of PTYs 19591/head
authorLennart Poettering <lennart@poettering.net>
Wed, 12 May 2021 14:05:40 +0000 (16:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 May 2021 15:58:01 +0000 (17:58 +0200)
commit11f3c130aa6a61021f2e4106609df4d052e28a52
tree336a7d16f29c4d01bd67ee4de83f50320642337b
parent0ba976e8da8f4878e478d02468a93977a9d3ee35
terminal: don't hardcode major number of PTYs

Hardcoding major numbers sucks. And we generally don't do it, except
when determining whether something is a PTY. Thing though is that we
don't actually need to do that here either, hence don#t.
src/basic/terminal-util.c
src/test/test-terminal-util.c