From 42c4de823f3c6069240c5fa97e57a274372d4e61 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 1 Feb 2010 00:03:02 +0000 Subject: 2010-02-01 Chris Johns * libmisc/shell/fts.c: Updated to the latest NetBSD version to resolve heap allocation bugs. * libmisc/shell/main_ls.c, libmisc/shell/print-ls.c: Fix printing size bugs. * libnetworking/rtems/mkrootfs.c: Fix byte order bug when creating the loopback interface address. --- cpukit/libnetworking/rtems/mkrootfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libnetworking') diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index bd2296701e..fc8aee36d0 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -328,7 +328,7 @@ rtems_create_root_fs (void) * Create a `/etc/hosts' file. */ - if (rtems_rootfs_append_host_rec (0x7f000001, "localhost", "localdomain")) + if (rtems_rootfs_append_host_rec (htonl (0x7f000001), "localhost", "localdomain")) return -1; return 0; -- cgit v1.2.3