btrfs-progs: library-test: update header inclusion
[platform/upstream/btrfs-progs.git] / cmds-inspect-dump-tree.c
index 03aa0b2..6c6c0e5 100644 (file)
@@ -32,6 +32,7 @@
 #include "commands.h"
 #include "utils.h"
 #include "cmds-inspect-dump-tree.h"
+#include "help.h"
 
 static void print_extents(struct btrfs_root *root, struct extent_buffer *eb)
 {
@@ -269,7 +270,7 @@ int cmd_inspect_dump_tree(int argc, char **argv)
                                tree_id = treeid_from_string(optarg, &end);
 
                        if (!tree_id) {
-                               error("unrecognized tree id: %s\n",
+                               error("unrecognized tree id: %s",
                                                optarg);
                                exit(1);
                        }