fix: CLI option help typos in offcputime.c
authorGabriele N. Tornetta <P403n1x87@users.noreply.github.com>
Fri, 10 Sep 2021 13:26:08 +0000 (14:26 +0100)
committeryonghong-song <ys114321@gmail.com>
Sat, 11 Sep 2021 18:42:21 +0000 (11:42 -0700)
libbpf-tools/offcputime.c

index b45f7e6db98ce8dd211074c242fc08be2f199983..02fdbec66fb822ce73e4474d678f339d724dc4af 100644 (file)
@@ -272,11 +272,11 @@ int main(int argc, char **argv)
        if (err)
                return err;
        if (env.user_threads_only && env.kernel_threads_only) {
-               fprintf(stderr, "user_threads_only, kernel_threads_only cann't be used together.\n");
+               fprintf(stderr, "user_threads_only and kernel_threads_only cannot be used together.\n");
                return 1;
        }
        if (env.min_block_time >= env.max_block_time) {
-               fprintf(stderr, "min_block_time should smaller than max_block_time\n");
+               fprintf(stderr, "min_block_time should be smaller than max_block_time\n");
                return 1;
        }