dracut-functions: get_maj_min() major and minor was swapped

master
Harald Hoyer 2012-01-23 13:50:05 +01:00
parent 4f10ae2b86
commit 74132a10f3
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ get_fs_uuid() (

get_maj_min() {
local _dev
_dev=$(stat -L -c '$((0x%T)):$((0x%t))' "$1" 2>/dev/null)
_dev=$(stat -L -c '$((0x%t)):$((0x%T))' "$1" 2>/dev/null)
_dev=$(eval "echo $_dev")
echo $_dev
}