compile fixes
[lttv.git] / ltt / branches / poly / lttctl / lttctl.c
index 59eedfc0d1d887070072bec90ba75825bd921afd..105aacb61efb627cdb6a957e6f9cec0b30a73559 100644 (file)
@@ -12,7 +12,7 @@
 #include <config.h>
 #endif
 
-#include <libltt/libltt.h>
+#include <liblttctl/lttctl.h>
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -25,7 +25,7 @@
 #include <sys/stat.h>
 
 /* 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;
                                                }
This page took 0.031685 seconds and 4 git commands to generate.