Ignore:
Timestamp:
Jul 28, 2015, 1:27:45 PM (9 years ago)
Author:
guerin
Message:

shell: cp: error code for the right fd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/shell/main.c

    r669 r672  
    126126    if (dst_fd < 0)
    127127    {
    128         giet_tty_printf("can't open %s (err=%d)\n", argv[2], src_fd);
     128        giet_tty_printf("can't open %s (err=%d)\n", argv[2], dst_fd);
    129129        goto exit;
    130130    }
Note: See TracChangeset for help on using the changeset viewer.