mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
0b879af755
There is realy nothing abnormal if client app trying to query data for just dissapeared process. glibtop_error_io() call always end up with exit() which is not what people may expect.
12 lines
414 B
C
12 lines
414 B
C
--- sysdeps/freebsd/procmap.c Wed Feb 23 17:20:45 2005
|
|
+++ sysdeps/freebsd/procmap.c.orig Sat Mar 19 02:46:57 2005
|
|
@@ -129,7 +129,7 @@
|
|
/* Get the process data */
|
|
pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count);
|
|
if ((pinfo == NULL) || (count < 1)) {
|
|
- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid);
|
|
+ glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid);
|
|
return NULL;
|
|
}
|
|
|