diff options
author | wollman <wollman@FreeBSD.org> | 1995-03-16 17:11:21 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-03-16 17:11:21 +0000 |
commit | d83a02d4f2f4f8cad160163c4b5c6befbccb8449 (patch) | |
tree | 1dd1e888bac7aad5ffa4f22c0fa063ec45f71132 | |
parent | 80a34ebfdf2ad53283c719aa90cdbf45be5b70d2 (diff) | |
download | FreeBSD-src-d83a02d4f2f4f8cad160163c4b5c6befbccb8449.zip FreeBSD-src-d83a02d4f2f4f8cad160163c4b5c6befbccb8449.tar.gz |
Fix long-standing core dump when ld returns failure.
-rw-r--r-- | sbin/modload/modload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index 1901ee6..4787f11 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: modload.c,v 1.5 1994/09/24 03:18:32 wollman Exp $ + * $Id: modload.c,v 1.6 1995/01/23 04:07:57 wollman Exp $ */ #include <stdio.h> @@ -116,7 +116,7 @@ linkcmd(kernel, entry, outfile, address, object) } if(WEXITSTATUS(status) != 0) { - errx(1, "%s: return code %d", WEXITSTATUS(status)); + errx(1, "%s: return code %d", _PATH_LD, WEXITSTATUS(status)); } } |