Changeset 233 for trunk/src


Ignore:
Timestamp:
04/28/11 23:28:16 (14 years ago)
Author:
tim
Message:

improved version information interface by adding a special purpose function

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup-recover.c

    r232 r233  
    336336{
    337337  fprintf(stderr, "Usage: reglookup-recover [options] <REGISTRY_FILE>\n");
    338   fprintf(stderr, "Version: %s\n", REGFI_VERSION);
     338  fprintf(stderr, "Version: %s\n", regfi_version());
    339339  fprintf(stderr, "Options:\n");
    340340  fprintf(stderr, "\t-v\t sets verbose mode.\n");
  • trunk/src/reglookup.c

    r232 r233  
    551551          " [-p <PATH_FILTER>] [-t <TYPE_FILTER>]"
    552552          " <REGISTRY_FILE>\n");
    553   fprintf(stderr, "Version: %s\n", REGFI_VERSION);
     553  fprintf(stderr, "Version: %s\n", regfi_version());
    554554  fprintf(stderr, "Options:\n");
    555555  fprintf(stderr, "\t-v\t sets verbose mode.\n");
Note: See TracChangeset for help on using the changeset viewer.