From f14f225e4afde8de6bc676042111c7eaead0a196 Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Tue, 5 Jun 2007 04:34:38 +0000 Subject: [PATCH] Changed target for ubpar.c to directly write to mtd device SVN-Revision: 7502 --- target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c b/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c index 103d4fd217..228a578a61 100644 --- a/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c +++ b/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c @@ -115,7 +115,7 @@ int main(int argc, char *argv[]) { envptr->crc = crc32(0, envptr->data, ENV_SIZE); - params = fopen("params", "w"); + params = fopen("/dev/mtd1", "w"); fwrite(envptr, CFG_ENV_SIZE, 1, params); fclose(params); -- 2.30.2