summaryrefslogtreecommitdiffstats
path: root/net/fastboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/fastboot.c')
-rw-r--r--net/fastboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/fastboot.c b/net/fastboot.c
index aa483f57a7..932eb05c43 100644
--- a/net/fastboot.c
+++ b/net/fastboot.c
@@ -126,6 +126,8 @@ static void fastboot_send(struct fastboot_net *fbn,
if (error_msg)
header.id = FASTBOOT_ERROR;
+ else
+ error_msg = "no error";
/* send header */
memcpy(packet, &header, sizeof(header));