Changeset 5b3cf90 in mainline for uspace/app/bdsh/cmds/modules/ls


Ignore:
Timestamp:
2009-08-02T19:38:02Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fa5526d
Parents:
f019cc07
Message:

Fix warnings in Bdsh and PCI lib.

Location:
uspace/app/bdsh/cmds/modules/ls
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/ls/ls.c

    rf019cc07 r5b3cf90  
    9090        int rc;
    9191
    92         if (rc = stat(pathname, &s)) {
     92        rc = stat(pathname, &s);
     93        if (rc != 0) {
    9394                /* Odd chance it was deleted from the time readdir() found it */
    9495                printf("ls: skipping bogus node %s\n", pathname);
  • uspace/app/bdsh/cmds/modules/ls/ls.h

    rf019cc07 r5b3cf90  
    77#define LS_DIR   2
    88
    9 
    10 static unsigned int ls_scope(const char *);
    119static void ls_scan_dir(const char *, DIR *);
    1210static void ls_print(const char *, const char *);
Note: See TracChangeset for help on using the changeset viewer.