9
0
Fork 0
barebox/common
Nishanth Menon 2af143fcf2 common:environment: fix mode requirement
Issue:
Compiling on Ubuntu 8.10 Fails:
inlined from 'envfs_save' at scripts/../common/environment.c:135:
/usr/include/bits/fcntl2.h:51: error: call to '_open_missing_mod'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments

Usage: open(filename, O_WRONLY | O_CREAT)

Fix:
When using open with O_CREAT, it requires
mode to be defined.

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:25:54 +01:00
..
Kconfig Build system: Use setlocalversion from kernel 2008-09-02 15:48:06 +02:00
Makefile console: add a simple console for saving space 2008-08-01 11:47:10 +02:00
clock.c clocK: Add ndelay function 2008-08-13 16:41:22 +02:00
command.c move several commands into extra files 2008-08-13 16:29:17 +02:00
complete.c use newly introduced stringlist functions for tab completion 2008-03-11 21:40:40 +01:00
console.c console: add a simple console for saving space 2008-08-01 11:47:10 +02:00
console_simple.c console: add a simple console for saving space 2008-08-01 11:47:10 +02:00
date.c doc added and some reorganised 2007-10-19 14:56:45 +02:00
dlmalloc.c Common: expose calloc 2008-08-15 08:47:50 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env.c setenv: Fix warning introduced with last commit 2008-08-20 17:46:54 +02:00
environment.c common:environment: fix mode requirement 2008-12-09 11:25:54 +01:00
flash.c svn_rev_118 2007-07-05 18:01:24 +02:00
ft_build.c - Add functions to register image handlers for booting uImages 2008-02-20 19:01:54 +01:00
hush.c hush: Fix quoting 2008-11-10 17:54:15 +01:00
kallsyms.c add kallsyms from linux kernel 2007-09-28 20:29:52 +02:00
memsize.c [sandbox] add propper sandbox detection 2007-11-29 10:22:46 +01:00
misc.c Print error number 2008-11-10 17:40:09 +01:00
module.c move several commands into extra files 2008-08-13 16:29:17 +02:00
module.lds.S add module linker script 2007-10-04 12:46:11 +02:00
parser.c Remove part #ifdefed with #if (CONFIG_COMMANDS & CFG_CMD_BOOTD) which is 2008-05-12 15:55:55 +02:00
partition.c partition: route through MEMSETBADBLOCK ioctl 2008-09-02 17:21:02 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
startup.c arm: dump stack space on startup 2008-08-13 16:29:30 +02:00