X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttctl%2Flttctl.c;h=105aacb61efb627cdb6a957e6f9cec0b30a73559;hb=2312de30ce2be53f81c4eaaa772ffff21511b509;hp=59eedfc0d1d887070072bec90ba75825bd921afd;hpb=618fbcc124c0a599c7396d29bd33b3d2585c245a;p=lttv.git diff --git a/ltt/branches/poly/lttctl/lttctl.c b/ltt/branches/poly/lttctl/lttctl.c index 59eedfc0..105aacb6 100644 --- a/ltt/branches/poly/lttctl/lttctl.c +++ b/ltt/branches/poly/lttctl/lttctl.c @@ -12,7 +12,7 @@ #include #endif -#include +#include #include #include #include @@ -25,7 +25,7 @@ #include /* Buffer for file copy : 4k seems optimal. */ -#define BUF_SIZE 4194304 +#define BUF_SIZE 4096 enum trace_ctl_op { CTL_OP_CREATE_START, @@ -117,7 +117,7 @@ int parse_arguments(int argc, char **argv) trace_name = argv[argn+1]; argn++; } else { - printf("Specify a trace name after -n.\n", argv[argn]); + printf("Specify a trace name after -n.\n"); printf("\n"); ret = EINVAL; }