aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-05 10:18:42 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-05 10:18:42 -0800
commit230fb921ec89e3a30d5ccdad57beb1b77b4ab055 (patch)
treeceb3c0b3ed1f70115693b2f3954701cd45cf23f3 /proc.cpp
parent82a93d8406ccacc8241a5862fa96155f6b09c9d5 (diff)
We had identical format_val and to_string; standardize on to_string
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.cpp b/proc.cpp
index fe0f5bb3..7ad35bd4 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -541,8 +541,8 @@ void proc_fire_event( const wchar_t *msg, int type, pid_t pid, int status )
event.param1.pid = pid;
event.arguments->push_back(msg);
- event.arguments->push_back(format_val<int>(pid));
- event.arguments->push_back(format_val<int>(status));
+ event.arguments->push_back(to_string<int>(pid));
+ event.arguments->push_back(to_string<int>(status));
event_fire( &event );
event.arguments->resize(0);
}