diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-08 23:21:07 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-08 23:21:07 -0800 |
commit | d173bb6e0a13863e23c606f1454c35788b3a6cf6 (patch) | |
tree | 7ace61ece41660f3744eb4d606d6d85a09fdbec4 /event.cpp | |
parent | ce859c9e92cc50f9b4ff20edfec8e905c298d29a (diff) |
A bunch of changes working towards eliminating all memory allocation after fork()
Diffstat (limited to 'event.cpp')
-rw-r--r-- | event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -192,7 +192,7 @@ wcstring event_get_desc( const event_t *e ) { job_t *j = job_get_from_pid( -e->param1.pid ); if( j ) - result = format_string(_(L"exit handler for job %d, '%ls'"), j->job_id, j->command_cstr() ); + result = format_string(_(L"exit handler for job %d, '%ls'"), j->job_id, j->command_wcstr() ); else result = format_string(_(L"exit handler for job with process group %d"), -e->param1.pid ); } @@ -203,7 +203,7 @@ wcstring event_get_desc( const event_t *e ) { job_t *j = job_get( e->param1.job_id ); if( j ) - result = format_string(_(L"exit handler for job %d, '%ls'"), j->job_id, j->command_cstr() ); + result = format_string(_(L"exit handler for job %d, '%ls'"), j->job_id, j->command_wcstr() ); else result = format_string(_(L"exit handler for job with job id %d"), j->job_id ); |