gone_in(9): Trivial string grammar and style cleanups

This commit is contained in:
Conrad Meyer 2019-12-26 18:25:07 +00:00
parent 94551ceb0a
commit af00898b5d
2 changed files with 3 additions and 3 deletions

View File

@ -5971,7 +5971,7 @@ _gone_in(int major, const char *msg)
gone_panic(major, P_OSREL_MAJOR(__FreeBSD_version), msg);
if (P_OSREL_MAJOR(__FreeBSD_version) >= major)
printf("Obsolete code will removed soon: %s\n", msg);
printf("Obsolete code will be removed soon: %s\n", msg);
else
printf("Deprecated code (to be removed in FreeBSD %d): %s\n",
major, msg);
@ -5984,7 +5984,7 @@ _gone_in_dev(device_t dev, int major, const char *msg)
gone_panic(major, P_OSREL_MAJOR(__FreeBSD_version), msg);
if (P_OSREL_MAJOR(__FreeBSD_version) >= major)
device_printf(dev,
"Obsolete code will removed soon: %s\n", msg);
"Obsolete code will be removed soon: %s\n", msg);
else
device_printf(dev,
"Deprecated code (to be removed in FreeBSD %d): %s\n",

View File

@ -593,7 +593,7 @@ void _gone_in_dev(struct device *dev, int major, const char *msg);
#ifdef NO_OBSOLETE_CODE
#define __gone_ok(m, msg) \
_Static_assert(m < P_OSREL_MAJOR(__FreeBSD_version)), \
"Obsolete code" msg);
"Obsolete code: " msg);
#else
#define __gone_ok(m, msg)
#endif