Translate messages from ktc_SetToken
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 13 Nov 2009 16:40:53 +0000 (16:40 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Tue, 17 Nov 2009 01:04:38 +0000 (17:04 -0800)
commit146b732fc877a23d515191471603a9ef0a655501
tree41efa0b6cf72ea19070783780e3ed5a94a9e343d
parentfda55b178c12bba1474ae2c63bc7b803cdc9730f
Translate messages from ktc_SetToken

Error messages from ktc_SetToken weren't being passed through com_err,
leading to the confusing

   unable to obtain tokens for cell inf.ed.ac.uk (status: 11862788).

error message. Instead, call into afs_com_err here, which gives:

   a pioctl failed while obtaining tokens for cell inf.ed.ac.uk

Much nicer ...

Change-Id: Id4c7e6f6a2f52efc6ac1db9fa007ba1a452092fe
Reviewed-on: http://gerrit.openafs.org/822
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/aklog/aklog_main.c