diff options
Diffstat (limited to 'usr/src/lib/libshell/common')
-rw-r--r-- | usr/src/lib/libshell/common/sh/nvtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libshell/common/sh/nvtree.c b/usr/src/lib/libshell/common/sh/nvtree.c index eaa0dc99d2..8ff1605138 100644 --- a/usr/src/lib/libshell/common/sh/nvtree.c +++ b/usr/src/lib/libshell/common/sh/nvtree.c @@ -428,7 +428,7 @@ void nv_attribute(register Namval_t *np,Sfio_t *out,char *prefix,int noname) if ((attr=nv_isattr(np,~NV_NOFREE)) || fp) { - if((attr&NV_NOPRINT|NV_INTEGER)==NV_NOPRINT) + if((attr&(NV_NOPRINT|NV_INTEGER))==NV_NOPRINT) attr &= ~NV_NOPRINT; if(!attr && !fp) return; |