Browse Source

strace: use qualify_*

* strace.c (init): Use qualify_trace, qualify_abbrev, qualify_verbose,
qualify_status, and qualify_signals instead of qualify.

Complements: v5.4-100-g490bfd465 "Add long options for qualifiers"
Dmitry V. Levin 2 months ago
parent
commit
d385d04390
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      strace.c

+ 6
- 6
strace.c View File

@@ -1690,14 +1690,14 @@ init(int argc, char *argv[])
1690 1690
 	shared_log = stderr;
1691 1691
 	set_sortby(DEFAULT_SORTBY);
1692 1692
 	set_personality(DEFAULT_PERSONALITY);
1693
-	qualify("trace=all");
1694
-	qualify("abbrev=all");
1695
-	qualify("verbose=all");
1696
-	qualify("status=all");
1693
+	qualify_trace("all");
1694
+	qualify_abbrev("all");
1695
+	qualify_verbose("all");
1697 1696
 #if DEFAULT_QUAL_FLAGS != (QUAL_TRACE | QUAL_ABBREV | QUAL_VERBOSE)
1698 1697
 # error Bug in DEFAULT_QUAL_FLAGS
1699 1698
 #endif
1700
-	qualify("signal=all");
1699
+	qualify_status("all");
1700
+	qualify_signals("all");
1701 1701
 
1702 1702
 	static const char optstring[] = "+"
1703 1703
 #ifdef ENABLE_STACKTRACE
@@ -1861,7 +1861,7 @@ init(int argc, char *argv[])
1861 1861
 			username = optarg;
1862 1862
 			break;
1863 1863
 		case 'v':
1864
-			qualify("abbrev=none");
1864
+			qualify_abbrev("none");
1865 1865
 			break;
1866 1866
 		case 'V':
1867 1867
 			print_version();

Loading…
Cancel
Save