Add AFSCONF_NOCELLNAME error code
authorBenjamin Kaduk <kaduk@mit.edu>
Wed, 10 Dec 2014 19:36:36 +0000 (14:36 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 9 Jan 2015 22:13:42 +0000 (17:13 -0500)
commit8b6ea7213a69f19ce2e591f1ae56a1db946c136c
tree42b6256b07028c52fd0b16e089c2a16b5e5fa64a
parent72e22eb00f641f137f7dbe4195d6d82f4a8addc9
Add AFSCONF_NOCELLNAME error code

Contrast with AFSCONF_NOCELL, which is for when no cell configuration
information is available at all (i.e., a struct afsconf_dir* was NULL) --
this code is used when there is some cell configuration available, but
that configuration does not include the cell name.

Replace the only existing use of AFSCONF_UNKNOWN with this more-informative
error code, leaving AFSCONF_UNKNOWN free for use in other situations.

Change-Id: I989756a960e5377545af43f8e9414d1f2d6476b4
Reviewed-on: http://gerrit.openafs.org/11628
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/auth/acfg_errors.et
src/auth/cellconfig.c