Changeset 8e5f39d in mainline for uspace/app/nav/nav.c


Ignore:
Timestamp:
2021-10-07T17:17:36Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
166aba54
Parents:
3b67e95
Message:

Read and display directory contents

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/nav/nav.c

    r3b67e95 r8e5f39d  
    136136                if (rc != EOK) {
    137137                        printf("Error adding control to layout.\n");
    138                         return rc;
     138                        goto error;
     139                }
     140
     141                rc = panel_read_dir(navigator->panel[i], ".");
     142                if (rc != EOK) {
     143                        printf("Error reading directory.\n");
     144                        goto error;
    139145                }
    140146        }
Note: See TracChangeset for help on using the changeset viewer.