diff options
author | obrien <obrien@FreeBSD.org> | 2010-12-15 23:45:12 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-12-15 23:45:12 +0000 |
commit | b3be4af10ab7b7e0bb1d47b76abf259823cf5699 (patch) | |
tree | 3e39e012cecc1fe39087ef057108c95637e43101 /sbin/geom/core | |
parent | ac2b5f1951181f8da2ec54c59ff4a21f3da030d4 (diff) | |
download | FreeBSD-src-b3be4af10ab7b7e0bb1d47b76abf259823cf5699.zip FreeBSD-src-b3be4af10ab7b7e0bb1d47b76abf259823cf5699.tar.gz |
Rename the generic "CLASS" to the more specific "GEOM_CLASS".
While I'm here remove redundancy and inconsistencies.
Obtained from: Juniper Networks
Diffstat (limited to 'sbin/geom/core')
-rw-r--r-- | sbin/geom/core/Makefile | 2 | ||||
-rw-r--r-- | sbin/geom/core/geom.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/geom/core/Makefile b/sbin/geom/core/Makefile index d76c35b..64edc79 100644 --- a/sbin/geom/core/Makefile +++ b/sbin/geom/core/Makefile @@ -8,7 +8,7 @@ SRCS= geom.c subr.c NO_SHARED=NO -CFLAGS+= -DCLASS_DIR=\"${CLASS_DIR}\" +CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\" CFLAGS+= -I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/.. DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL} diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index 0a583ef..a802915 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -500,7 +500,7 @@ library_path(void) path = getenv("GEOM_LIBRARY_PATH"); if (path == NULL) - path = CLASS_DIR; + path = GEOM_CLASS_DIR; return (path); } |