summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2018-10-15 17:59:36 +0200
committerEugene Syromyatnikov <evgsyr@gmail.com>2022-09-02 17:55:13 +0200
commit90dd8b53c3aacf32c3e02fca0deea4c99a3d4c13 (patch)
tree5a199786753ed62dd7ecc03920c105018eb8ca3a
parent4465bd110a3b903e08eb56caaffc344264471647 (diff)
downloadstrace-90dd8b53c3aacf32c3e02fca0deea4c99a3d4c13.tar.gz
xlat: provide fallback definitions to dirent_types
* xlat/dirent_types.in: Provide fallback definitions.
-rw-r--r--src/xlat/dirent_types.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/xlat/dirent_types.in b/src/xlat/dirent_types.in
index b16cc21aa..c161331aa 100644
--- a/src/xlat/dirent_types.in
+++ b/src/xlat/dirent_types.in
@@ -1,9 +1,10 @@
-DT_UNKNOWN
-DT_FIFO
-DT_CHR
-DT_DIR
-DT_BLK
-DT_REG
-DT_LNK
-DT_SOCK
-DT_WHT
+#value_indexed
+DT_UNKNOWN 0
+DT_FIFO 1
+DT_CHR 2
+DT_DIR 4
+DT_BLK 6
+DT_REG 8
+DT_LNK 10
+DT_SOCK 12
+DT_WHT 14