summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.c
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 /OpenFilesScreen.c
parent8a147dd5b4bc35feebb14a3a55ee44186ce3cea4 (diff)
Interpret TTY_NR column on Linux,
translate dev_t to major:minor on other platforms. Closes #316.
Diffstat (limited to 'OpenFilesScreen.c')
-rw-r--r--OpenFilesScreen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c
index 80079d04..75190fe1 100644
--- a/OpenFilesScreen.c
+++ b/OpenFilesScreen.c
@@ -102,7 +102,6 @@ static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(pid_t pid) {
fdata = nextFile;
item = &(fdata->data);
}
- assert(cmd >= 0 && cmd <= 0xff);
item->data[cmd] = xStrdup(line + 1);
free(line);
}

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