diff options
| author | Ryan Moeller <freqlabs@FreeBSD.org> | 2020-06-23 16:29:59 +0000 |
|---|---|---|
| committer | Ryan Moeller <freqlabs@FreeBSD.org> | 2020-06-23 16:29:59 +0000 |
| commit | 5f018c9147685536eb56456536a9ddaa993a308f (patch) | |
| tree | 3ab971d2e2cfef322574fa6803a742a090f06d21 /lib/libdevdctl | |
| parent | aa5e1b42e6e32dd5b54c97f82f5f35c8eb6150f1 (diff) | |
Notes
Diffstat (limited to 'lib/libdevdctl')
| -rw-r--r-- | lib/libdevdctl/event.cc | 2 |
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]; |
