]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Wed, 4 Apr 2012 12:27:40 +0000 (05:27 -0700)
commit07bc098589573927d9f085773c8b06d39c8f8389
tree214d91b2d22959468397aef0ea8cb34867100290
parenta64864529d1fca2b5a3f4d21ec598982be335368
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.

Reviewed-on: http://gerrit.openafs.org/7042
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit a66268f69a2da0dc21957338eebe5c91b279ddda)

Change-Id: I0edd54c9984c591d56531e4eb210e8374ed8b608
Reviewed-on: http://gerrit.openafs.org/7045
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/SOLARIS/osi_machdep.h