blob: 2423c4208d119b9b4435b48203da43890458ccac (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- plugins/check_nt.c.v0 2011-11-07 22:02:22.000000000 +0100
+++ plugins/check_nt.c 2011-11-07 22:05:00.000000000 +0100
@@ -202,7 +202,7 @@ int main(int argc, char **argv){
updays = uptime / 86400;
uphours = (uptime % 86400) / 3600;
upminutes = ((uptime % 86400) % 3600) / 60;
- asprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)"),updays,uphours, upminutes);
+ asprintf(&output_message, _("System Uptime - %u day(s) %u hour(s) %u minute(s)|uptime=%lu"), updays, uphours, upminutes, uptime);
return_code=STATE_OK;
break;
|