bin/171662: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sun Sep 16 06:00:29 UTC 2012
The following reply was made to PR bin/171662; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/171662: commit references a PR
Date: Sun, 16 Sep 2012 05:53:11 +0000 (UTC)
Author: kib
Date: Sun Sep 16 05:52:54 2012
New Revision: 240546
URL: http://svn.freebsd.org/changeset/base/240546
Log:
Handle AT_TIMEKEEP in procstat(1) -x [1]. Remove the AT_COUNT switch
case, since AT_COUNT is not an aux vector, it is the counter of total
number of defined vectors.
PR: bin/171662 [1]
MFC after: 1 week
Modified:
head/usr.bin/procstat/procstat_auxv.c
Modified: head/usr.bin/procstat/procstat_auxv.c
==============================================================================
--- head/usr.bin/procstat/procstat_auxv.c Sun Sep 16 00:35:09 2012 (r240545)
+++ head/usr.bin/procstat/procstat_auxv.c Sun Sep 16 05:52:54 2012 (r240546)
@@ -231,9 +231,11 @@ procstat_auxv(struct kinfo_proc *kipp)
else
PRINT(AT_STACKPROT, %s, "EXECUTABLE");
break;
- case AT_COUNT:
- PRINT(AT_COUNT, %ld, (long)auxv[i].a_un.a_val);
+#ifdef AT_TIMEKEEP
+ case AT_TIMEKEEP:
+ PRINT(AT_TIMEKEEP, %p, auxv[i].a_un.a_ptr);
break;
+#endif
default:
PRINT_UNKNOWN(auxv[i].a_type, auxv[i].a_un.a_val);
break;
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list