diff options
author | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 08:03:56 +0000 |
---|---|---|
committer | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 08:03:56 +0000 |
commit | eec6cb1cf20290299c34bcab79119823f6ac7a1f (patch) | |
tree | b4ce59716cb01690836df8b4dfc7522f3c47e658 /lib/libprocstat/core.c | |
parent | 4cdf9796417c68c0f3cbd97a751a822202db0ffd (diff) |
Notes
Diffstat (limited to 'lib/libprocstat/core.c')
-rw-r--r-- | lib/libprocstat/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libprocstat/core.c b/lib/libprocstat/core.c index 2ff3975f69b7..e7502227c58f 100644 --- a/lib/libprocstat/core.c +++ b/lib/libprocstat/core.c @@ -179,6 +179,10 @@ procstat_core_get(struct procstat_core *core, enum psc_type type, void *buf, n_type = NT_PROCSTAT_RLIMIT; structsize = sizeof(struct rlimit) * RLIM_NLIMITS; break; + case PSC_TYPE_OSREL: + n_type = NT_PROCSTAT_OSREL; + structsize = sizeof(int); + break; default: warnx("unknown core stat type: %d", type); return (NULL); |