Changed target for ubpar.c to directly write to mtd device
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Jun 2007 04:34:38 +0000 (04:34 +0000)
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Jun 2007 04:34:38 +0000 (04:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7502 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c

index 103d4fd..228a578 100644 (file)
@@ -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);
 
This page took 0.023085 seconds and 4 git commands to generate.