diff options
author | trasz <trasz@FreeBSD.org> | 2010-01-08 15:44:49 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-01-08 15:44:49 +0000 |
commit | 2cff5b762aae21fa44026635bf30126306b3e5e6 (patch) | |
tree | 2485229b6cf12010c53deea4e479915bbdbe4933 /sys/ddb | |
parent | 6f35777c44e9870d9e0fa47019fd5d3e79f04f03 (diff) | |
download | FreeBSD-src-2cff5b762aae21fa44026635bf30126306b3e5e6.zip FreeBSD-src-2cff5b762aae21fa44026635bf30126306b3e5e6.tar.gz |
Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order
to silence newer GCC versions.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index e233a26..2261721 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -136,7 +136,7 @@ db_ps(db_expr_t addr, boolean_t hasaddr, db_expr_t count, char *modif) if (TD_ON_LOCK(td)) lflag++; if (TD_IS_SLEEPING(td)) { - if (!td->td_flags & TDF_SINTR) + if (!(td->td_flags & TDF_SINTR)) dflag++; else sflag++; @@ -171,7 +171,7 @@ db_ps(db_expr_t addr, boolean_t hasaddr, db_expr_t count, char *modif) state[1] = '\0'; /* Additional process state flags. */ - if (!p->p_flag & P_INMEM) + if (!(p->p_flag & P_INMEM)) strlcat(state, "W", sizeof(state)); if (p->p_flag & P_TRACED) strlcat(state, "X", sizeof(state)); |