aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/linux/minidump_writer/minidump_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc
index 4167b1bc..73161628 100644
--- a/src/client/linux/minidump_writer/minidump_writer.cc
+++ b/src/client/linux/minidump_writer/minidump_writer.cc
@@ -1253,7 +1253,7 @@ class MinidumpWriter {
my_strlcpy(vendor_id, value, sizeof(vendor_id));
// we don't want the trailing newline
if (length < sizeof(vendor_id) && vendor_id[length - 1] == '\n')
- vendor_id[length - 1] == '\0';
+ vendor_id[length - 1] = '\0';
}
}