diff mbox

[1/2] Override tftp blocksize set by firmware.

Message ID 1383157961-9465-1-git-send-email-k0da@opensuse.org
State New
Headers show

Commit Message

Dinar Valeev Oct. 30, 2013, 6:32 p.m. UTC
From: Dinar Valeev <dvaleev@suse.com>

Sometimes we need to load files bigger than 32MB, due to bug in pSeries
firmware, we can't control it. Set it to 1024, nowadays it seems more
reasonable.

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
---
 second/fs_of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/second/fs_of.c b/second/fs_of.c
index 13f5e2c..719d2ac 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -203,7 +203,7 @@  of_net_open(struct boot_file_t* file,
           strcat(buffer, ",");
           strcat(buffer, fspec->subnetmask);
           strcat(buffer, ",");
-          strcat(buffer, fspec->addl_params);
+          strcat(buffer, 1024);
      } else {
           strcat(buffer, ",");
           strcat(buffer, filename);