summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-10-01 03:09:04 -0300
committerHisham <hisham@gobolinux.org>2016-10-01 03:09:04 -0300
commit8af4d9f453ffa2209e486418811f7652822951c6 (patch)
tree432b6b39b0f9f7c746224370ccf438eea3495ac6 /unsupported
parent8a147dd5b4bc35feebb14a3a55ee44186ce3cea4 (diff)
Interpret TTY_NR column on Linux,
translate dev_t to major:minor on other platforms. Closes #316.
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c
index 30726859..0df3ef9f 100644
--- a/unsupported/Platform.c
+++ b/unsupported/Platform.c
@@ -39,7 +39,7 @@ ProcessFieldData Process_fields[] = {
[PPID] = { .name = "PPID", .title = " PPID ", .description = "Parent process ID", .flags = 0, },
[PGRP] = { .name = "PGRP", .title = " PGRP ", .description = "Process group ID", .flags = 0, },
[SESSION] = { .name = "SESSION", .title = " SESN ", .description = "Process's session ID", .flags = 0, },
- [TTY_NR] = { .name = "TTY_NR", .title = " TTY ", .description = "Controlling terminal", .flags = 0, },
+ [TTY_NR] = { .name = "TTY_NR", .title = " TTY ", .description = "Controlling terminal", .flags = 0, },
[TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, },
[MINFLT] = { .name = "MINFLT", .title = " MINFLT ", .description = "Number of minor faults which have not required loading a memory page from disk", .flags = 0, },
[MAJFLT] = { .name = "MAJFLT", .title = " MAJFLT ", .description = "Number of major faults which have required loading a memory page from disk", .flags = 0, },

© 2014-2024 Faster IT GmbH | imprint | privacy policy