• Derek Fawcus's avatar
    'slabtop -o' with stdin not a tty would complain · 96c52499
    Derek Fawcus authored
    When the command is executed in one shot mode (-o) with stdin
    being something other than a terminal,  the tcgetattr() call
    would fail,  and generate an error message. e.g.:
    slabtop: terminal setting retrieval: Inappropriate ioctl for device
     Active / Total Objects (% used)    : 905319 / 915886 (98.8%)
    Signed-off-by: Craig Small's avatarCraig Small <[email protected]>
slabtop.c 10.9 KB