slackbuilds/system/whowatch/process.diff

13 lines
382 B
Diff

diff -ur whowatch-1.4-orig/process.c whowatch-1.4/process.c
--- whowatch-1.4-orig/process.c 2000-06-06 11:16:12.000000000 +0100
+++ whowatch-1.4/process.c 2009-07-12 13:11:13.000000000 +0100
@@ -74,7 +74,7 @@
memset(z, 0, sizeof *z);
check_line(l);
z->line = l++;
- (struct process *) p->priv = z;
+ p->priv = z;
z->proc = p;
if (*current){
z->next = *current;