diff options
author | 2015-02-12 08:44:47 +0000 | |
---|---|---|
committer | 2015-02-12 08:44:47 +0000 | |
commit | a1daeb934e0a1b0e37fe6572621845d6c9aba0a3 (patch) | |
tree | 5c1bf495a5bc85feba894641b037d227450dac3e | |
parent | Remove a stray ;. (diff) | |
download | wireguard-openbsd-a1daeb934e0a1b0e37fe6572621845d6c9aba0a3.tar.xz wireguard-openbsd-a1daeb934e0a1b0e37fe6572621845d6c9aba0a3.zip |
Use ksh arithmethic instead of expr.
Noted by todd@
OK krw@ halex@
-rw-r--r-- | distrib/loongson/ramdisk/install.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/loongson/ramdisk/install.md b/distrib/loongson/ramdisk/install.md index 9189ff50a07..cd5de23987c 100644 --- a/distrib/loongson/ramdisk/install.md +++ b/distrib/loongson/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.14 2014/08/15 09:45:54 rpe Exp $ +# $OpenBSD: install.md,v 1.15 2015/02/12 08:44:47 rpe Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -81,13 +81,13 @@ e 0 1 -$(expr $_s \* 2048) +$((_s * 2048)) e 3 0 e 3 A6 -$(expr $_s \* 2048 + 1) +$((_s * 2048 + 1)) * update write |