diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-22 22:49:47 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-22 22:49:47 +0100 |
commit | 499dea307cb900d53beed8c119cd7d8e76a530eb (patch) | |
tree | 15575954c01bd6a2ab43614f19f010bf99c782aa /rumpdisk | |
parent | c97d8278a809f939e1163d1087314178ef25f19b (diff) | |
download | hurd-499dea307cb900d53beed8c119cd7d8e76a530eb.tar.gz hurd-499dea307cb900d53beed8c119cd7d8e76a530eb.tar.bz2 hurd-499dea307cb900d53beed8c119cd7d8e76a530eb.zip |
rumpdisk: Fix BLKRRPART value
We have always been using the Linux value, coming from the Linux glue
code.
Diffstat (limited to 'rumpdisk')
-rw-r--r-- | rumpdisk/block-rump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rumpdisk/block-rump.c b/rumpdisk/block-rump.c index ba32ef2f..ab99f517 100644 --- a/rumpdisk/block-rump.c +++ b/rumpdisk/block-rump.c @@ -43,7 +43,7 @@ #define DIOCGMEDIASIZE _IOR('d', 132, off_t) #define DIOCGSECTORSIZE _IOR('d', 133, unsigned int) -#define BLKRRPART _IO(0x12,95) /* re-read partition table */ +#define BLKRRPART 0x125F /* re-read partition table */ #define DISK_NAME_LEN 32 #define MAX_DISK_DEV 2 |