Changeset dd8ab1c in mainline for uspace/app/bdsh/cmds/modules/mv/mv.c


Ignore:
Timestamp:
2017-12-10T21:08:11Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68e5406
Parents:
1afa94d
Message:

More str_error() additions.

File:
1 edited

Legend:

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

    r1afa94d rdd8ab1c  
    3030#include <stdlib.h>
    3131#include <errno.h>
     32#include <str_error.h>
    3233#include <vfs/vfs.h>
    3334#include "config.h"
     
    6263        rc = vfs_rename_path(argv[1], argv[2]);
    6364        if (rc != EOK) {
    64                 printf("Unable to rename %s to %s (error=%d)\n",
    65                     argv[1], argv[2], rc);
     65                printf("Unable to rename %s to %s: %s)\n",
     66                    argv[1], argv[2], str_error(rc));
    6667                return CMD_FAILURE;
    6768        }
Note: See TracChangeset for help on using the changeset viewer.