diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 16:33:35 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 16:33:35 +0200 |
commit | 79ed00ba92a0c2dd209d94e0550d582897ca176e (patch) | |
tree | af5684bf31b6e7ae5f5ca1fc9aa26ba9919d6185 /common | |
parent | 9e13a384c005d26411b53d4c4f643700957c8345 (diff) | |
download | barebox-79ed00ba92a0c2dd209d94e0550d582897ca176e.tar.gz barebox-79ed00ba92a0c2dd209d94e0550d582897ca176e.tar.xz |
pass file size from read_file
Diffstat (limited to 'common')
-rw-r--r-- | common/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c index 8552ecea26..c7c9ced8ec 100644 --- a/common/hush.c +++ b/common/hush.c @@ -1462,7 +1462,7 @@ static int source_script(const char *path, int argc, char *argv[]) ctx.global_argc = argc; ctx.global_argv = argv; - script = read_file(path); + script = read_file(path, NULL); if (!script) return 1; |