diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 36ea8e606be..c74e9cb9557 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1605,7 +1605,7 @@ physmap_done: #endif /* - * hw.maxmem is a size in bytes; we also allow k, m, and g suffixes + * hw.physmem is a size in bytes; we also allow k, m, and g suffixes * for the appropriate modifiers. This overrides MAXMEM. */ if ((cp = getenv("hw.physmem")) != NULL) { diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 36ea8e606be..c74e9cb9557 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1605,7 +1605,7 @@ physmap_done: #endif /* - * hw.maxmem is a size in bytes; we also allow k, m, and g suffixes + * hw.physmem is a size in bytes; we also allow k, m, and g suffixes * for the appropriate modifiers. This overrides MAXMEM. */ if ((cp = getenv("hw.physmem")) != NULL) {