From 8899a50eb67062963766701db8967cb8ca198ca8 Mon Sep 17 00:00:00 2001 From: yjlee Date: Tue, 30 Apr 2024 09:42:22 +0900 Subject: [PATCH] print usage when class name exists for non heap_dump mode --- src/executables/util_sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/executables/util_sa.c b/src/executables/util_sa.c index 7235953bef2..60d04cd0b16 100644 --- a/src/executables/util_sa.c +++ b/src/executables/util_sa.c @@ -1574,7 +1574,7 @@ diagdb (UTIL_FUNCTION_ARG * arg) goto print_diag_usage; } - if (diag == DIAGDUMP_ALL && class_name != NULL) + if (diag != DIAGDUMP_HEAP && class_name != NULL) { goto print_diag_usage; }