diff options
Diffstat (limited to 'cpukit/libnetworking/rtems/mkrootfs.c')
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.c | 2 |
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; |