diff options
-rw-r--r-- | cmds/cmd/cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/cmd/cmd.cpp b/cmds/cmd/cmd.cpp index 0ce7711574..9695e07753 100644 --- a/cmds/cmd/cmd.cpp +++ b/cmds/cmd/cmd.cpp @@ -95,7 +95,7 @@ public: flags = O_RDWR; checkRead = checkWrite = true; } else { - mErrorLog << "Invalid mode requested: " << mode.c_str() << endl; + mErrorLog << "Invalid mode requested: " << mode << endl; return -EINVAL; } int fd = open(fullPath.c_str(), flags, S_IRWXU|S_IRWXG); |