From: Marc Dionne Date: Wed, 28 Apr 2010 23:07:32 +0000 (-0400) Subject: Warning fix: cpp hates apostrophes X-Git-Tag: openafs-devel-1_5_75~344 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a1cbbccce3cb615b43535721f8990f6019aa27ec;p=packages%2Fo%2Fopenafs.git Warning fix: cpp hates apostrophes The compiler complains when the text in a #warning contains a single apostrophe: error: missing terminating ' character Change the text to avoid it. Change-Id: Ibf1f4d2cb922b313545ed228a2a8d4eb6b134178 Reviewed-on: http://gerrit.openafs.org/1877 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_osi_pag.c b/src/afs/afs_osi_pag.c index 8a3d94fcb..fa38b0813 100644 --- a/src/afs/afs_osi_pag.c +++ b/src/afs/afs_osi_pag.c @@ -558,7 +558,7 @@ osi_get_group_pag(afs_ucred_t *cred) ngroups = crgetngroups(cred); #endif #if defined(AFS_NBSD40_ENV) -#warning com afs_ucred_t w/magic won't work +#warning com afs_ucred_t w/magic will not work if (cred == NOCRED || cred == FSCRED) return NOPAG; if (osi_crngroups(cred) < 3)