summaryrefslogtreecommitdiff
path: root/sysutils/gtop/patches/patch-ac
blob: 1a525a97cdd6c51865e8fbabbde558d9686cb775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2003/09/30 22:06:04 mycroft Exp $

--- procview.c.orig	2001-02-15 00:57:30.000000000 +0000
+++ procview.c	2003-09-30 22:04:42.000000000 +0000
@@ -118,7 +118,7 @@
 \
 static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \
 { \
-	  return (*P)->d->sort_order * strcasecmp ((*P)->p-> ## NAME, (*Q)->p-> ## NAME); \
+	  return (*P)->d->sort_order * strcasecmp ((*P)->p->NAME, (*Q)->p->NAME); \
 }
 
 #define SORT_ASC 1