diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-04-03 15:17:27 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-04-03 15:17:27 +0800 |
commit | e6427db8266f5964d14679c53b55da8e3ee0233c (patch) | |
tree | f66e438ef529363b97663e28551e73c58c3336bd /utils | |
parent | 5f206b3d7960b79a4c85067132caa7e7a29dfc59 (diff) | |
download | talos-petitboot-e6427db8266f5964d14679c53b55da8e3ee0233c.tar.gz talos-petitboot-e6427db8266f5964d14679c53b55da8e3ee0233c.zip |
ui/ncurses: Use tty name in default log filename
When we have multiple ncurses UIs running, we'd like to log to separate
files. Currenly, all UIs log to the same file, which makes it diffifult
to determine which UI is logging each message.
This change uses the output of ttyname() (sanitised appropriately) as a
component of the default log filename.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions