aboutsummaryrefslogtreecommitdiff
path: root/lib/libdevdctl
diff options
context:
space:
mode:
authorRyan Moeller <freqlabs@FreeBSD.org>2020-06-23 16:29:59 +0000
committerRyan Moeller <freqlabs@FreeBSD.org>2020-06-23 16:29:59 +0000
commit5f018c9147685536eb56456536a9ddaa993a308f (patch)
tree3ab971d2e2cfef322574fa6803a742a090f06d21 /lib/libdevdctl
parentaa5e1b42e6e32dd5b54c97f82f5f35c8eb6150f1 (diff)
Notes
Diffstat (limited to 'lib/libdevdctl')
-rw-r--r--lib/libdevdctl/event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdevdctl/event.cc b/lib/libdevdctl/event.cc
index c73c40c1c13c..36c9b725fed1 100644
--- a/lib/libdevdctl/event.cc
+++ b/lib/libdevdctl/event.cc
@@ -427,7 +427,7 @@ Event::TimestampEventString(std::string &eventString)
* Add a timestamp as the final field of the event if it is
* not already present.
*/
- if (eventString.find("timestamp=") == string::npos) {
+ if (eventString.find(" timestamp=") == string::npos) {
const size_t bufsize = 32; // Long enough for a 64-bit int
timeval now;
char timebuf[bufsize];