]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: cleanup code to copy to log strings
authorKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 15:08:11 +0000 (17:08 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 15:10:44 +0000 (17:10 +0200)
commitc0c4feec88a5fc78c527e2cda440231101938be9
treeddb624f89b428750dca2549f3c9c5998a66cc3fb
parent7f76bc8a7557aa835667566aef9c8a2a8b18c2bb
agetty: cleanup code to copy to log strings

man utmp:
  String fields are terminated by a null byte ('\0') if they are shorter
  than the size of the field.

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c