From e275dfedc41cecf51d96484eb34505d12dca5678 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 15 Sep 2015 14:27:02 -0400 Subject: qatom: always display SLOT in verbose mode URL: https://bugs.gentoo.org/560320 --- qatom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qatom.c') diff --git a/qatom.c b/qatom.c index 25eee8e..f2c7ae4 100644 --- a/qatom.c +++ b/qatom.c @@ -56,8 +56,8 @@ int qatom_main(int argc, char **argv) printf("%s %s %s", atom->CATEGORY, atom->PN, atom->PV); if (verbose || atom->PR_int) printf(" r%i", atom->PR_int); - if (atom->SLOT) - printf(" :%s", atom->SLOT); + if (verbose || atom->SLOT) + printf(" :%s", atom->SLOT ? atom->SLOT : "-"); if (verbose || atom->pfx_op != ATOM_OP_NONE) printf(" %s", atom->pfx_op == ATOM_OP_NONE ? "-" : atom_op_str[atom->pfx_op]); if (verbose || atom->sfx_op != ATOM_OP_NONE) -- cgit v1.2.3-65-gdbad