summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-02-01 00:03:02 +0000
committerChris Johns <chrisj@rtems.org>2010-02-01 00:03:02 +0000
commit42c4de823f3c6069240c5fa97e57a274372d4e61 (patch)
tree9531359f1bf8bf08d993cb45c9ea7ce60021e829 /cpukit/libnetworking
parentFixed invalid chain extract (diff)
downloadrtems-42c4de823f3c6069240c5fa97e57a274372d4e61.tar.bz2
2010-02-01 Chris Johns <chrisj@rtems.org>
* 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.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.c2
1 files changed, 1 insertions, 1 deletions
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;