aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-03-16 17:11:21 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-03-16 17:11:21 +0000
commitb53e909d11d42042f0a6847b2650458d1385c489 (patch)
tree1dd1e888bac7aad5ffa4f22c0fa063ec45f71132 /sbin
parent9d3b840f0a01b3a1bd7008d4a959129ca39276c0 (diff)
downloadsrc-b53e909d11d42042f0a6847b2650458d1385c489.tar.gz
src-b53e909d11d42042f0a6847b2650458d1385c489.zip
Fix long-standing core dump when ld returns failure.
Notes
Notes: svn path=/head/; revision=7085
Diffstat (limited to 'sbin')
-rw-r--r--sbin/modload/modload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index 1901ee65ca71..4787f11b9563 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));
}
}