diff options
| author | itohy <itohy@NetBSD.org> | 2002-11-12 14:26:10 +0000 |
|---|---|---|
| committer | itohy <itohy@NetBSD.org> | 2002-11-12 14:26:10 +0000 |
| commit | 5b3e8cb3f20e65b2ffd584cccfdb6bdb5dbe71ec (patch) | |
| tree | e718c0d31c184c3de79c38b766fcc7dcee5f6bc6 /lib/csu | |
| parent | abad61e77f54932fd323a7dde66ffcf52dde2301 (diff) | |
Do not print \0 at the end of error message.
Diffstat (limited to 'lib/csu')
| -rw-r--r-- | lib/csu/common_aout/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/common_aout/common.h b/lib/csu/common_aout/common.h index 5377d01276f..c00a9034c4d 100644 --- a/lib/csu/common_aout/common.h +++ b/lib/csu/common_aout/common.h @@ -1,4 +1,4 @@ -/* $NetBSD: common.h,v 1.11 1999/06/17 21:09:48 thorpej Exp $ */ +/* $NetBSD: common.h,v 1.12 2002/11/12 14:26:10 itohy Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -94,7 +94,7 @@ static int _strncmp __P((char *, char *, int)); #endif #define _FATAL(str) \ - write(2, str, sizeof(str)), \ + write(2, str, sizeof(str) - 1), \ _exit(1); #endif /* DYNAMIC */ |
