Changeset 890793b in mainline


Ignore:
Timestamp:
2008-11-29T12:31:22Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abd36f7
Parents:
8df7a1c
Message:

Nits.

File:
1 edited

Legend:

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

    r8df7a1c r890793b  
    8383        if (-1 == (fd1 = open(src, O_RDONLY))) {
    8484                printf("Unable to open source file %s\n", src);
    85                 return copied;
     85                return -1;
    8686        }
    8787
     
    8989                printf("Unable to open destination file %s\n", dest);
    9090                close(fd1);
    91                 return copied;
     91                return -1;
    9292        }
    9393
Note: See TracChangeset for help on using the changeset viewer.