diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-15 15:35:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-15 15:35:47 +0000 |
commit | eee89cef747135ccc8267d6a92f623ee85b6c843 (patch) | |
tree | 4ecd710102e8a766b4ac8bf68f72f0a9bbbdb886 | |
parent | a55cb854c55940636d89a26b911e6c10f453d699 (diff) | |
download | px4-nuttx-eee89cef747135ccc8267d6a92f623ee85b6c843.tar.gz px4-nuttx-eee89cef747135ccc8267d6a92f623ee85b6c843.tar.bz2 px4-nuttx-eee89cef747135ccc8267d6a92f623ee85b6c843.zip |
Register /dev/zero too
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1240 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/sim/src/up_initialize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/sim/src/up_initialize.c b/nuttx/arch/sim/src/up_initialize.c index 56c43e8b3..cd13ab37e 100644 --- a/nuttx/arch/sim/src/up_initialize.c +++ b/nuttx/arch/sim/src/up_initialize.c @@ -94,6 +94,7 @@ void up_initialize(void) /* Register devices */ devnull_register(); /* Standard /dev/null */ + devzero_register(); /* Standard /dev/zero */ up_devconsole(); /* Our private /dev/console */ #if defined(CONFIG_FS_FAT) && !defined(CONFIG_DISABLE_MOUNTPOINT) up_registerblockdevice(); /* Our FAT ramdisk at /dev/ram0 */ |