From 43e2659d7615d40beaa2451183440ed56645b410 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 22 Nov 2020 10:40:40 +0000 Subject: fix typo; from Kris Katterjohn --- usr.bin/nm/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/nm') diff --git a/usr.bin/nm/elf.c b/usr.bin/nm/elf.c index 4d386011898..5aeef7a01a7 100644 --- a/usr.bin/nm/elf.c +++ b/usr.bin/nm/elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf.c,v 1.37 2018/12/14 19:56:02 guenther Exp $ */ +/* $OpenBSD: elf.c,v 1.38 2020/11/22 10:40:39 jsg Exp $ */ /* * Copyright (c) 2003 Michael Shalayeff @@ -518,7 +518,7 @@ elf_symload(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh, } if ((shstr = malloc(shstrsize)) == NULL) { - warn("%s: malloc shsrt", name); + warn("%s: malloc shstr", name); return (1); } -- cgit v1.2.3