ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/error.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/error.c (file contents):
Revision 1.2 by ats, Tue Apr 6 22:09:22 2004 UTC vs.
Revision 1.3 by tdb, Wed Apr 7 09:44:08 2004 UTC

# Line 44 | Line 44 | const char *sg_str_error(sg_error code) {
44          switch (code) {
45          case SG_ERROR_NONE:
46                  return "no error";
47 +        case SG_ERROR_MALLOC_FAILED:
48 +                return "malloc failed - out of memory";
49          }
50          return "unknown error";
51   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines