]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vos status: actually show created time
authorAndrew Deason <adeason@sinenomine.net>
Tue, 6 Jul 2010 17:36:27 +0000 (12:36 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sun, 18 Jul 2010 15:20:29 +0000 (08:20 -0700)
The 'created' field in 'vos status' output was being reported as
something else. Make 'vos status' actually report the time the
transaction was created in that field.

Change-Id: Ib890256f4b9f67cf0a37910dc3b3585eafdba4fc
Reviewed-on: http://gerrit.openafs.org/2336
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/volser/vos.c

index bf55a1ca580babfc0f7ad2a0625b89ad643adc34..094ffc14b0c25646fcf5f949d148505e68d269b4 100644 (file)
@@ -4071,7 +4071,7 @@ VolserStatus(register struct cmd_syndesc *as, void *arock)
     for (i = 0; i < count; i++) {
        /*print out the relevant info */
        fprintf(STDOUT, "--------------------------------------\n");
-       t = pntr->time;
+       t = pntr->creationTime;
        fprintf(STDOUT, "transaction: %lu  created: %s",
                (unsigned long)pntr->tid, ctime(&t));
        if (pntr->returnCode) {