mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Windows: cm_DumpServers "down" is string not enum
When dumping the state of the servers, "down" is a string not an enum value. Reviewed-on: http://gerrit.openafs.org/9946 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> (cherry picked from commit 1e8788927ed61c7bcc1d8ccb2c50582488fcfb6e) Change-Id: Ie3a9987fcf041f50789b9da078b8a7d79b485afb Reviewed-on: http://gerrit.openafs.org/9951 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
bb589cf990
commit
49e9da1625
@ -1593,7 +1593,7 @@ int cm_DumpServers(FILE *outputFile, char *cookie, int lock)
|
||||
cookie, tsp, tsp->cellp ? tsp->cellp->name : "", hoststr,
|
||||
ntohs(tsp->addr.sin_port), uuidstr, type,
|
||||
tsp->capabilities, tsp->flags, tsp->waitCount, tsp->activeRank,
|
||||
(tsp->flags & CM_SERVERFLAG_DOWN) ? down : "up",
|
||||
(tsp->flags & CM_SERVERFLAG_DOWN) ? "down" : "up",
|
||||
tsp->refCount);
|
||||
WriteFile(outputFile, output, (DWORD)strlen(output), &zilch, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user