@@ -270,11 +270,17 @@ platform_findsizes(char *path, int fd, long long *sz, int *bsz)
}
char *
-platform_findrawpath(char *path)
+findrawpath(char *path)
{
return path;
}
+char *
+platform_findrawpath(char *path)
+{
+ return findrawpath(path);
+}
+
char *
platform_findblockpath(char *path)
{
@@ -18,6 +18,7 @@ int set_blocksize(int fd, char *path, dev_t device, int bsz, int fatal);
int platform_flush_device(int fd, dev_t device);
int flush_device(int fd, dev_t device);
char *platform_findrawpath(char *path);
+char *findrawpath(char *path);
char *platform_findblockpath(char *path);
int platform_direct_blockdev(void);
int platform_align_blockdev(void);
@@ -200,7 +200,7 @@ check_open(char *path, int flags, char **rawfile, char **blockfile)
perror(path);
return 0;
}
- if (!(*rawfile = platform_findrawpath(path))) {
+ if (!(*rawfile = findrawpath(path))) {
fprintf(stderr, _("%s: "
"can't find a character device matching %s\n"),
progname, path);