From 52f82a76b6a9997964ae4021da35f80f7acefefd Mon Sep 17 00:00:00 2001 From: David Given Date: Wed, 28 Dec 2016 23:49:55 +0000 Subject: [PATCH] Don't crash when using the -u option to enter undefined symbols. --- util/led/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/led/main.c b/util/led/main.c index 4ea0b0d05..028bc3b3f 100644 --- a/util/led/main.c +++ b/util/led/main.c @@ -328,7 +328,7 @@ makename(string) { static struct outname namebuf; - namebuf.on_mptr = string; + namebuf.on_foff = string - core_position - mems[ALLOMODL].mem_base; namebuf.on_type = S_UND + S_EXT; namebuf.on_valu = (long)0;