diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-09-29 23:54:12 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-09-29 23:54:12 +0200 |
commit | d3c40faba807e3c7a63c5fe34de52bf753c88b2d (patch) | |
tree | b104b84c30e048d65263c535e83bb918b497fdc7 /mdadm.h | |
parent | mdopen: call "modprobe md_mod" if it might be needed. (diff) | |
download | mdadm-d3c40faba807e3c7a63c5fe34de52bf753c88b2d.tar.xz mdadm-d3c40faba807e3c7a63c5fe34de52bf753c88b2d.zip |
lib: devid2kname() should take a dev_t
Make devid2kname() and devid2devnm() consistent in their APIs
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1537,7 +1537,7 @@ extern void print_r10_layout(int layout); extern char *find_free_devnm(int use_partitions); extern void put_md_name(char *name); -extern char *devid2kname(int devid); +extern char *devid2kname(dev_t devid); extern char *devid2devnm(dev_t devid); extern dev_t devnm2devid(char *devnm); extern char *get_md_name(char *devnm); |