mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Attempt to fix Alpha build by renaming ident[] to kern_ident[].
This commit is contained in:
parent
bd77aaf980
commit
c02d762181
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116105
@ -95,7 +95,7 @@ char version[] = "${VERSION} #${v}: ${t}\\n ${u}@${h}:${d}\\n";
|
||||
char ostype[] = "${TYPE}";
|
||||
char osrelease[] = "${RELEASE}";
|
||||
int osreldate = ${RELDATE};
|
||||
char ident[] = "${i}";
|
||||
char kern_ident[] = "${i}";
|
||||
EOF
|
||||
|
||||
echo `expr ${v} + 1` > version
|
||||
|
@ -86,7 +86,7 @@ SYSCTL_NODE(, OID_AUTO, regression, CTLFLAG_RW, 0,
|
||||
#endif
|
||||
|
||||
SYSCTL_STRING(_kern, OID_AUTO, ident, CTLFLAG_RD,
|
||||
ident, 0, "Kernel identifier");
|
||||
kern_ident, 0, "Kernel identifier");
|
||||
|
||||
SYSCTL_STRING(_kern, KERN_OSRELEASE, osrelease, CTLFLAG_RD,
|
||||
osrelease, 0, "Operating system release");
|
||||
|
@ -581,7 +581,7 @@ SYSCTL_DECL(_compat);
|
||||
extern char machine[];
|
||||
extern char osrelease[];
|
||||
extern char ostype[];
|
||||
extern char ident[];
|
||||
extern char kern_ident[];
|
||||
|
||||
/* Dynamic oid handling */
|
||||
struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,
|
||||
|
Loading…
Reference in New Issue
Block a user