~ubuntu-branches/debian/sid/nagios-plugins/sid

« back to all changes in this revision

Viewing changes to plugins/check_load.c

  • Committer: Package Import Robot
  • Author(s): Jan Wagner
  • Date: 2013-09-03 15:13:11 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20130903151311-ewlbj1ko4lmsraf5
Tags: 1.4.16+git20130902-1
* New upstream git snapshot (5789548373)
  - Adjust debian/copyright
* Droped the following upstream integrated patches
  - 05_fix_gets_undefined_in_iso_c11.dpatch
  - 10_check_apt_perfdata.dpatch
  - 11_check_nt_npe.dpatch
  - 12_check_smtp_double_threshold.dpatch
* Fix removing empty /usr/include
* Add new check_dbi into nagios-plugins-standard
* Remove whois from Recommands, as check_bgpstate is removed
* Cleanup debian/rules from unused stuff
* Provide information about repackaging
  - Extend debian/README.source
  - Add debian/bin/repack.sh
* Updating standards version to 3.9.4 (no changes needed)
* Add libfreeradius-client-dev to build-deps and remove libradiusclient-ng-dev
  (Closes: #721621)
* Remove traces of contrib/ from debian/copyright
* Remove command.cfg from examples in nagios-plugins-common, it was removed
  upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
        /* we got this far, so assume OK until we've measured */
187
187
        result = STATE_OK;
188
188
 
189
 
        asprintf(&status_line, _("load average: %.2f, %.2f, %.2f"), la1, la5, la15);
 
189
        xasprintf(&status_line, _("load average: %.2f, %.2f, %.2f"), la1, la5, la15);
190
190
 
191
191
        for(i = 0; i < 3; i++) {
192
192
                if(la[i] > cload[i]) {