From e1406829db670f2870ef528301e72960ef19f8af Mon Sep 17 00:00:00 2001 From: Shawn Nock Date: Wed, 8 May 2019 13:41:37 +0000 Subject: [PATCH] Removes tinycbor submodule in favour of separate packaging --- .gitmodules | 3 --- src/image.c | 2 +- tinycbor | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 160000 tinycbor diff --git a/.gitmodules b/.gitmodules index 062216d..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "tinycbor"] - path = tinycbor - url = https://github.com/intel/tinycbor.git diff --git a/src/image.c b/src/image.c index 6300692..b9e69f4 100644 --- a/src/image.c +++ b/src/image.c @@ -103,7 +103,7 @@ static void cbor_require_type(CborValue *it, CborType type) { static void do_version(void) { int rc = write(serial_fd, IMAGE_LIST_CMD, sizeof(IMAGE_LIST_CMD) - 1); if (rc < sizeof(IMAGE_LIST_CMD) - 1) { - fprintf(stderr, "Failed to send command: %s", strerror(errno)); + fprintf(stderr, "Failed to send command: %s\n", strerror(errno)); return; } uint8_t tmp[BOOT_SERIAL_IN_MAX]; diff --git a/tinycbor b/tinycbor deleted file mode 160000 index 0362274..0000000 --- a/tinycbor +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0362274505cb68c0f42678b8142589d533acb821