~ubuntu-branches/debian/sid/chkrootkit/sid

« back to all changes in this revision

Viewing changes to chkwtmp.c

  • Committer: Bazaar Package Importer
  • Author(s): lantz moore
  • Date: 2006-11-18 00:59:53 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061118005953-ynnaxnpzgrwjk01o
Tags: 0.47-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        char            buffer[30];
47
47
 
48
48
        printf("%d deletion(s) between ", counter);
49
 
        strcpy(buffer, ctime( (time_t *) &start));
 
49
        strncpy(buffer, ctime( (time_t *) &start), 30);
50
50
        buffer[24]='\0';
51
51
        printf("%s and %s", buffer, ctime( (time_t *) &end));
52
52
}