$NetBSD: patch-ab,v 1.3 2005/12/27 09:58:56 dillo Exp $

--- estd.c.orig	2005-01-30 23:15:13.000000000 +0100
+++ estd.c
@@ -141,7 +141,7 @@ set_freq(int freq)
 int
 freqcmp(const void *x, const void *y)
 {
-	return *((int *) x) > *((int *) y);
+	return *((int *) x) - *((int *) y);
 }
 
 /* clean up the pidfile on exit */
