summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-04-24 19:49:30 +0200
committerSage Weil <sage.weil@dreamhost.com>2012-04-24 19:49:30 +0200
commit7b832f4266c3fe925c62b6ec8c0f8c0c7299dd6c (patch)
treec923e616002add9de691cf3e85265e5cf9d97a06
parentmon: fix pgmonitor ratio commands (diff)
downloadceph-7b832f4266c3fe925c62b6ec8c0f8c0c7299dd6c.tar.xz
ceph-7b832f4266c3fe925c62b6ec8c0f8c0c7299dd6c.zip
mon: fix whitespace
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
-rw-r--r--src/mon/PGMonitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc
index e80f727c8fc..2778f883aba 100644
--- a/src/mon/PGMonitor.cc
+++ b/src/mon/PGMonitor.cc
@@ -1076,7 +1076,7 @@ bool PGMonitor::prepare_command(MMonCommand *m)
char *end = (char *)start;
float n = strtof(start, &end);
if (*end != '\0') { // conversion didn't work
- ss << "could not convert " << m->cmd[2] << "to a float";
+ ss << "could not convert " << m->cmd[2] << " to a float";
goto out;
}
pending_inc.full_ratio = n;
@@ -1092,7 +1092,7 @@ bool PGMonitor::prepare_command(MMonCommand *m)
char *end = (char *)start;
float n = strtof(start, &end);
if (*end != '\0') { // conversion didn't work
- ss << "could not convert " << m->cmd[2] << "to a float";
+ ss << "could not convert " << m->cmd[2] << " to a float";
goto out;
}
pending_inc.nearfull_ratio = n;