summaryrefslogtreecommitdiff
path: root/stand/uboot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-19 04:05:55 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-19 04:05:55 +0000
commit6bc860372dd7b2be0227ca213af631bdc51c2339 (patch)
treec57718327f9882f9c2bbceb2c271426e8c304920 /stand/uboot
parent0ff3f28b2d3886b23c9c228add0fb2d540c3fbe4 (diff)
downloadsrc-test-6bc860372dd7b2be0227ca213af631bdc51c2339.tar.gz
src-test-6bc860372dd7b2be0227ca213af631bdc51c2339.zip
Interact is always called with NULL. Simplify code a little by
removing this argument, and expanding when rc is NULL. This effectively completes the back out of custom scripts for tftp booted loaders from r269153 that was started in r292344 with the new path tricks that obsoleted it. Submitted by: Netflix
Notes
Notes: svn path=/head/; revision=326961
Diffstat (limited to 'stand/uboot')
-rw-r--r--stand/uboot/common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/uboot/common/main.c b/stand/uboot/common/main.c
index c4efb1f69bd9d..5540059797cc7 100644
--- a/stand/uboot/common/main.c
+++ b/stand/uboot/common/main.c
@@ -500,7 +500,7 @@ main(int argc, char **argv)
archsw.arch_readin = uboot_readin;
archsw.arch_autoload = uboot_autoload;
- interact(NULL); /* doesn't return */
+ interact(); /* doesn't return */
return (0);
}