Commit 691692ec authored by Brenden's avatar Brenden

Merge pull request #14 from plumgrid/plumgrid/ysong_dev

fix a typo
parents 3d1d8358 b8cb323b
...@@ -185,7 +185,7 @@ class TmpDir { ...@@ -185,7 +185,7 @@ class TmpDir {
explicit TmpDir(const string &prefix = "/tmp/bcc-") explicit TmpDir(const string &prefix = "/tmp/bcc-")
: ok_(false), prefix_(prefix) { : ok_(false), prefix_(prefix) {
prefix_ += "XXXXXX"; prefix_ += "XXXXXX";
if (::mkdtemp((char *)prefix.data()) == NULL) if (::mkdtemp((char *)prefix_.data()) == NULL)
::perror("mkdtemp"); ::perror("mkdtemp");
else else
ok_ = true; ok_ = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment