Changeset 87d3ecf in mainline
- Timestamp:
- 2009-06-14T14:29:42Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ed2e0e
- Parents:
- c51a7cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
rc51a7cd r87d3ecf 58 58 int rc = -1; 59 59 char *opts = ""; 60 const char *root_dev = "initrd"; 60 61 61 62 if (str_cmp(fstype, "tmpfs") == 0) … … 63 64 64 65 while (rc < 0) { 65 rc = mount(fstype, "/", "initrd", opts, IPC_FLAG_BLOCKING);66 rc = mount(fstype, "/", root_dev, opts, IPC_FLAG_BLOCKING); 66 67 67 68 switch (rc) { 68 69 case EOK: 69 printf(NAME ": Root filesystem mounted\n"); 70 printf(NAME ": Root filesystem mounted, %s at %s\n", 71 fstype, root_dev); 70 72 break; 71 73 case EBUSY:
Note:
See TracChangeset
for help on using the changeset viewer.