Changes in uspace/app/bdsh/cmds/modules/mount/mount.c [86cf96d:680708d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r86cf96d r680708d 30 30 #include <stdio.h> 31 31 #include <stdlib.h> 32 #include <str_error.h> 32 33 #include <vfs/vfs.h> 33 34 #include <adt/list.h> … … 117 118 argc = cli_count_args(argv); 118 119 119 for (c = 0, opt reset = 1, optind = 0, opt_ind = 0; c != -1;) {120 for (c = 0, optind = 0, opt_ind = 0; c != -1;) { 120 121 c = getopt_long(argc, argv, "i:h", long_options, &opt_ind); 121 122 switch (c) { … … 152 153 rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance); 153 154 if (rc != EOK) { 154 printf("Unable to mount %s filesystem to %s on %s (rc=% d)\n",155 t_argv[1], t_argv[2], t_argv[3], rc);155 printf("Unable to mount %s filesystem to %s on %s (rc=%s)\n", 156 t_argv[1], t_argv[2], t_argv[3], str_error(rc)); 156 157 return CMD_FAILURE; 157 158 }
Note:
See TracChangeset
for help on using the changeset viewer.