/[monit]/monit/status.c
ViewVC logotype

Diff of /monit/status.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by hauk, Wed Jul 2 19:32:03 2003 UTC revision 1.31 by martinp, Sun Jul 6 18:29:38 2003 UTC
# Line 44  Line 44 
44  #include "socket.h"  #include "socket.h"
45  #include "monitor.h"  #include "monitor.h"
46  #include "monit_process.h"  #include "monit_process.h"
47    #include "monit_device.h"
48    
49    
50    
# Line 160  static void local_status(Service_T s) { Line 161  static void local_status(Service_T s) {
161      break;      break;
162    
163    case TASK_DEVICE:    case TASK_DEVICE:
164      if(!get_fsusage(s->path, s->devinfo)) {      if(!DeviceInfo_Usage(s->devinfo, s->path)) {
165        fprintf(stdout, "Device '%s' is not accessible\n\t"        fprintf(stdout, "Device '%s' is not accessible\n\t"
166          "Space: - Inodes: -\n\tMonitoring status: %s\n",          "Space: - Inodes: -\n\tMonitoring status: %s\n",
167          s->name, statusnames[s->do_monitor]);          s->name, statusnames[s->do_monitor]);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26