summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-03-22 10:38:07 +0000
committerphk <phk@FreeBSD.org>1999-03-22 10:38:07 +0000
commit67e16255daa31fcf4664957c4877bab7e53e09f2 (patch)
treefb385672bf2795f56f9315699c14dbbcb2c6d446 /lib
parentb97a8798b9d0cbdd363e775de2d1d29309390636 (diff)
downloadFreeBSD-src-67e16255daa31fcf4664957c4877bab7e53e09f2.zip
FreeBSD-src-67e16255daa31fcf4664957c4877bab7e53e09f2.tar.gz
Address our users in a civilized manner. (They may know better, but probably
just forgot it, it is certainly no reason to don't insult them.)
Diffstat (limited to 'lib')
-rw-r--r--lib/libdevstat/devstat.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/libdevstat/devstat.c b/lib/libdevstat/devstat.c
index ec86c78..356bf4f 100644
--- a/lib/libdevstat/devstat.c
+++ b/lib/libdevstat/devstat.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devstat.c,v 1.3 1998/09/20 00:11:09 ken Exp $
+ * $Id: devstat.c,v 1.4 1998/10/14 23:28:26 ken Exp $
*/
#include <sys/types.h>
@@ -200,18 +200,12 @@ checkversion(void)
if (version < DEVSTAT_VERSION)
snprintf(tmpstr, sizeof(tmpstr),
- "%s: you really should know better"
- " than to upgrade your\n%s: "
- "userland binaries without "
- "upgrading your kernel",
- func_name, func_name);
+ "%s: libdevstat newer than kernel\n",
+ func_name);
else
snprintf(tmpstr, sizeof(tmpstr),
- "%s: you really should know better"
- " than to upgrade your kernel "
- "without\n%s: upgrading your "
- "userland binaries",
- func_name, func_name);
+ "%s: kernel newer than libdevstat\n",
+ func_name);
strncat(devstat_errbuf, tmpstr,
DEVSTAT_ERRBUF_SIZE - buflen - 1);
OpenPOWER on IntegriCloud