summaryrefslogtreecommitdiff
path: root/scsi.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2014-02-05 02:20:51 +0000
committerDmitry V. Levin <ldv@altlinux.org>2014-02-05 02:28:18 +0000
commit594527353359d9a6aad516992e09c393e11f3bd2 (patch)
treeccef62341623db916eade55a47c9b00f4ce45b7f /scsi.c
parent82b1ea7c3fc854d5ea805f490d351d443701d60b (diff)
downloadstrace-594527353359d9a6aad516992e09c393e11f3bd2.tar.gz
Use XLAT_END macro
Automatically update all xlat structures using the following sed regexp: s/^[[:space:]]*{[[:space:]]*0[[:space:]]*,[[:space:]]*NULL[[:space:]]*,\?[[:space:]]*}[[:space:]]*,\?[[:space:]]*/\tXLAT_END/
Diffstat (limited to 'scsi.c')
-rw-r--r--scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scsi.c b/scsi.c
index f4b6f786a..ed5b3bbcd 100644
--- a/scsi.c
+++ b/scsi.c
@@ -35,7 +35,7 @@ static const struct xlat sg_io_dxfer_direction[] = {
XLAT(SG_DXFER_TO_DEV),
XLAT(SG_DXFER_FROM_DEV),
XLAT(SG_DXFER_TO_FROM_DEV),
- {0, NULL}
+ XLAT_END
};
static void