]> 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)
committerRuss Allbery <rra@debian.org>
Mon, 28 Feb 2011 23:46:38 +0000 (15:46 -0800)
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.

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>
(cherry picked from commit 36af430c29bdbfc1b4b5c1ad7568cbffab04899f)

Change-Id: I671be1ad023fc5cffc6757c6225b5efadb4dca8c
Reviewed-on: http://gerrit.openafs.org/3574
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 2325283b31c126c4f8ed9f6c7ba4d8842e3e3b0c)

src/volser/vos.c

index 757c4a3f3919bd46effac52e4dc30ab971179ff2..9a7467f539d0fcd97c21026d2bcc43275cc28740 100644 (file)
@@ -4003,7 +4003,7 @@ VolserStatus(register struct cmd_syndesc *as, void *arock)
        /*print out the relevant info */
        fprintf(STDOUT, "--------------------------------------\n");
        fprintf(STDOUT, "transaction: %lu  created: %s",
-               (unsigned long)pntr->tid, vos_ctime( & pntr->time));
+               (unsigned long)pntr->tid, vos_ctime( & pntr->creationTime));
        if (pntr->returnCode) {
            fprintf(STDOUT, "returnCode: %lu\n",
                    (unsigned long)pntr->returnCode);