]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove stray underscore from preprocessor conditional
authorBenjamin Kaduk <kaduk@mit.edu>
Sat, 25 Jul 2015 02:55:05 +0000 (22:55 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 7 Oct 2015 10:03:27 +0000 (06:03 -0400)
AFS_FBSD_110_ENV is not defined anywhere, so this conditional
did not behave as expected.

Introduced by me in commit e51d3b13c2b208efe72b584b532a28444633feff
which was apparently not as well tested as it could have been.

Change-Id: I57da8f69ba963b7602092bc524c6435059d8ae12
Reviewed-on: http://gerrit.openafs.org/11944
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams <3chas3@gmail.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/FBSD/osi_vfsops.c

index 5d3cb7a2cad8cc982bc0a02ef447c0d68932a552..d88b76665ad1bd2ee4f7522268e04c035abebdb8 100644 (file)
@@ -49,7 +49,7 @@ afs_init(struct vfsconf *vfc)
     int code;
     int offset = AFS_SYSCALL;
 #if defined(AFS_FBSD90_ENV) || defined(AFS_FBSD82_ENV)
-# if defined(AFS_FBSD_110_ENV)
+# if defined(AFS_FBSD110_ENV)
     code = syscall_register(&offset, &afs_sysent, &old_sysent, 0);
 # else
     code = syscall_register(&offset, &afs_sysent, &old_sysent);