From 458706e249c05298a70188ff466e7d4f412abb1b Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 15 Nov 2008 15:35:47 +0000 Subject: [PATCH] Register /dev/zero too git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1240 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sim/src/up_initialize.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sim/src/up_initialize.c b/arch/sim/src/up_initialize.c index 56c43e8b30..cd13ab37e5 100644 --- a/arch/sim/src/up_initialize.c +++ b/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 */