Changeset d11edc6485c8548e151e2b14ca904c22cefb5fa3
- Timestamp:
- 02/21/11 16:52:05
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1298307125 +0000
- git-parent:
[e63a8ea611819efb4ba56ce05009e11c511548db]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1298307125 +0000
- Message:
system is declared with warn_unused_result, so we need to pretend here
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r379bcaf |
rd11edc6 |
|
| 104 | 104 | |
|---|
| 105 | 105 | void glideme(int sig) { |
|---|
| 106 | | char cmd[1024]; |
|---|
| | 106 | char cmd[1024], unused; |
|---|
| 107 | 107 | signal(sig, SIG_DFL); |
|---|
| 108 | 108 | snprintf(cmd, sizeof(cmd), "%s %d > %s/%s.%d.trc", |
|---|
| 109 | 109 | glider_path, noit_monitored_child_pid, |
|---|
| 110 | 110 | trace_dir, appname, noit_monitored_child_pid); |
|---|
| 111 | | system(cmd); |
|---|
| | 111 | unused = system(cmd); |
|---|
| 112 | 112 | kill(noit_monitored_child_pid, sig); |
|---|
| 113 | 113 | } |
|---|