aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ktrace
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commit7799f52a32f592a7efe259bc3411ba52d13db797 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/ktrace
parent5ebc7e6281887681c3a348a5a4c902e262ccd656 (diff)
Notes
Diffstat (limited to 'usr.bin/ktrace')
-rw-r--r--usr.bin/ktrace/ktrace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c
index a57c4f4d1e23..e5842652884f 100644
--- a/usr.bin/ktrace/ktrace.c
+++ b/usr.bin/ktrace/ktrace.c
@@ -107,7 +107,7 @@ main(argc, argv)
case 't':
trpoints = getpoints(optarg);
if (trpoints < 0) {
- (void)fprintf(stderr,
+ (void)fprintf(stderr,
"ktrace: unknown facility in %s\n", optarg);
usage();
}
@@ -117,10 +117,10 @@ main(argc, argv)
}
argv += optind;
argc -= optind;
-
+
if (pidset && *argv || !pidset && !*argv)
usage();
-
+
if (inherit)
trpoints |= KTRFAC_INHERIT;
@@ -142,7 +142,7 @@ main(argc, argv)
error(tracefile);
(void)close(fd);
- if (*argv) {
+ if (*argv) {
if (ktrace(tracefile, ops, trpoints, getpid()) < 0)
error();
execvp(argv[0], &argv[0]);