714 prstat is muddled in its bitwise ops
Reviewed by:
[email protected]
Reviewed by:
[email protected]
Approved by:
[email protected]
--- a/usr/src/cmd/prstat/prstat.c Wed Feb 09 11:47:49 2011 -0500
+++ b/usr/src/cmd/prstat/prstat.c Wed Feb 09 11:47:57 2011 -0500
@@ -1486,7 +1486,7 @@
((opts.o_outpmode & (OPT_PSINFO | OPT_MSACCT))))
Die(gettext("-t option cannot be used with -v or -m\n"));
- if ((opts.o_outpmode & OPT_SPLIT) && (opts.o_outpmode && OPT_USERS) &&
+ if ((opts.o_outpmode & OPT_SPLIT) && (opts.o_outpmode & OPT_USERS) &&
!((opts.o_outpmode & (OPT_PSINFO | OPT_MSACCT))))
Die(gettext("-t option cannot be used with "
"-a, -J, -T or -Z\n"));