gone_in(9): Trivial string grammar and style cleanups
This commit is contained in:
parent
94551ceb0a
commit
af00898b5d
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user