diff options
author | bhackerozzo <bhackerozzo@3b445381-d045-0410-9223-e17ecdb95f4b> | 2008-09-06 20:00:44 +0000 |
---|---|---|
committer | bhackerozzo <bhackerozzo@3b445381-d045-0410-9223-e17ecdb95f4b> | 2008-09-06 20:00:44 +0000 |
commit | 80974c525cd4041fdf54bc811a2bc048fa13c5c8 (patch) | |
tree | afd09307b393d0c3fe6eb51f8349d617f327fe81 | |
parent | a1f006a43cdc6d73579321845752b6afcfbd8b0e (diff) | |
download | cpulimit-80974c525cd4041fdf54bc811a2bc048fa13c5c8.tar.gz |
macosx compilation error fixed
-rw-r--r-- | procutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procutils.c b/procutils.c index 3e17628..3c3221e 100644 --- a/procutils.c +++ b/procutils.c @@ -354,7 +354,7 @@ int look_for_process_by_name(const char *process_name) ProcessSerialNumber psn; ProcessInfoRec info; memset(&info, 0, sizeof(ProcessInfoRec)); - info_child.processInfoLength = sizeof(ProcessInfoRec); + info.processInfoLength = sizeof(ProcessInfoRec); info.processName = (char*)malloc(64*sizeof(char)); #endif while ((pid = read_next_process(&iter))) { |