blob: b347ce45d046a1d77c43e4991e1874c89ab6be5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ab,v 1.2 2005/03/22 16:03:37 jmmv Exp $
--- sysdeps/freebsd/proctime.c.orig 2005-02-23 09:20:45.000000000 +0100
+++ sysdeps/freebsd/proctime.c
@@ -137,11 +137,6 @@ glibtop_get_proc_time_p (glibtop *server
#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000))
if (server->sysdeps.proc_time == 0)
return;
-
-#ifndef __bsdi__
- sprintf (filename, "/proc/%d/mem", (int) pid);
- if (stat (filename, &statb)) return;
-#endif
#endif
/* Get the process information */
|