don't resolve port names

This commit is contained in:
Hisham Muhammad 2010-09-02 20:26:16 +00:00
parent 40eac57aef
commit b2fee47a14
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static void OpenFilesScreen_draw(OpenFilesScreen* this) {
static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(int pid) {
char command[1025];
snprintf(command, 1024, "lsof -p %d -F 2> /dev/null", pid);
snprintf(command, 1024, "lsof -P -p %d -F 2> /dev/null", pid);
FILE* fd = popen(command, "r");
OpenFiles_ProcessData* process = calloc(sizeof(OpenFiles_ProcessData), 1);
OpenFiles_FileData* file = NULL;