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

Diff of /monit/status.c

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

revision 1.45 by chopp, Mon Sep 15 13:02:02 2003 UTC revision 1.46 by chopp, Wed Sep 17 15:33:35 2003 UTC
# Line 201  static void local_status(Service_T s) { Line 201  static void local_status(Service_T s) {
201        } else {        } else {
202          fprintf(stdout,          fprintf(stdout,
203                  "File '%s' exist\n\t"                  "File '%s' exist\n\t"
204                  "Size: %luB MB UID: %d GID: %d Permission: %o\n",                  "Size: %lu B UID: %d GID: %d Permission: %o\n",
205                  s->name,                  s->name,
206                  (unsigned long)stat_buf.st_size/1048576, (int)stat_buf.st_uid,                  (unsigned long)stat_buf.st_size/1048576, (int)stat_buf.st_uid,
207                  (int)stat_buf.st_gid, (int)(stat_buf.st_mode & 07777));                  (int)stat_buf.st_gid, (int)(stat_buf.st_mode & 07777));

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

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