SOLARIS: Correct misplaced osi_machdep.h #endif
authorAndrew Deason <adeason@sinenomine.net>
Mon, 2 Apr 2012 21:16:37 +0000 (16:16 -0500)
committerDerrick Brashear <shadow@dementix.org>
Tue, 3 Apr 2012 18:32:30 +0000 (11:32 -0700)
commita66268f69a2da0dc21957338eebe5c91b279ddda
tree11af603eee91b72c256f885204573f3d15464f61
parente1eba145843996ce50eae79356a3f88b92a2ea86
SOLARIS: Correct misplaced osi_machdep.h #endif

Commit 64778fd7bece52360482f9a51f19b34dac1d2678 removed some '#ifdef
KERNEL' blocks, but for one block in SOLARIS/osi_machdep.h, the wrong
trailing #endif was removed. This effectively makes the last part of
the file Solaris 10+ only, and bypasses the header guard. On systems
before Solaris 10, this causes us to lose the osi_procname definition,
which eventually shows up as an undefined symbol.

So, reinstate the original #endif, and remove the correct #endif
instead.

Change-Id: I28a78dabc2c65abeadc003b95600026c3cb68e37
Reviewed-on: http://gerrit.openafs.org/7042
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/SOLARIS/osi_machdep.h