summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2005-01-26 17:26:54 +0000
committernectar <nectar@FreeBSD.org>2005-01-26 17:26:54 +0000
commit2898737c63ae261843285bb83cce473fc8bf7948 (patch)
treea1098bf9a209e2f518fa9a74174ea596c1b160c4 /include/pwd.h
parent33da4ef3f62a4c4007ad87c5bd27d80d5be44bba (diff)
downloadFreeBSD-src-2898737c63ae261843285bb83cce473fc8bf7948.zip
FreeBSD-src-2898737c63ae261843285bb83cce473fc8bf7948.tar.gz
Correct a typo in the definition of _PW_VERSION_MASK. This macro is
currently unused other than as documentation. Reported by: Stefan Farfeleder <stefan@fafoe.narf.at>
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pwd.h b/include/pwd.h
index e045f18..4503ddb 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -89,11 +89,11 @@ typedef __size_t size_t;
* As it happens, some applications read the database directly.
* (Bad app, no cookie!) Thus, we leave the _PW_KEY* symbols at their
* old pre-FreeBSD 5.1 values so these apps still work. Consequently
- * we have to do muck around a bit more to get the correct, versioned
- * tag, and that is what the _PW_VERSIONED macros is about.
+ * we have to muck around a bit more to get the correct, versioned
+ * tag, and that is what the _PW_VERSIONED macro is about.
*/
-#define _PW_VERSION_MASK '0xF0'
+#define _PW_VERSION_MASK '\xF0'
#define _PW_VERSIONED(x, v) ((unsigned char)(((x) & 0xCF) | ((v)<<4)))
#define _PW_KEYBYNAME '\x31' /* stored by name */
OpenPOWER on IntegriCloud