diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-07-01 02:12:43 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-07-01 02:12:43 +0000 |
commit | 13ea39a34766fcbecd96ab94bcdf798b08e9bb60 (patch) | |
tree | 1e1463b03838a6f36868a4dafc7e652358a51857 /sutils/e2os.sh | |
parent | 1f8d504f631531c199d7c6154a0dc442d80ea4a7 (diff) | |
parent | 7e15f3d69a83a34ac62cbbee944a0bfbfa92724e (diff) |
Merge branch 'master' into xkb
Conflicts:
config.make.in
configure.in
Diffstat (limited to 'sutils/e2os.sh')
-rwxr-xr-x | sutils/e2os.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/e2os.sh b/sutils/e2os.sh index 10fe5087..60c9e017 100755 --- a/sutils/e2os.sh +++ b/sutils/e2os.sh @@ -93,7 +93,7 @@ $DD 2>"$ERRS" if="$DEVICE" of="$SB" bs=1k skip=1 count=1 \ # Extract a word of SZ bytes from byte offset POS in the superblock # Optional arg FMT is what format to use (x = hex, d = decimal) -function sbget +sbget () { local pos="$1" sz="$2" fmt="${3-d}" pos=$(($pos / $sz)) @@ -103,7 +103,7 @@ function sbget } # Set a word of SZ bytes at byte offset POS in the superblock to VAL -function sbset +sbset () { local pos="$1" sz="$2" val="$3" pos=$(($pos / $sz)) |