Fix typo in XLAT_TYPE_PAIR
* xlat.h (XLAT_TYPE_PAIR): Take "type" parameter. Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
e212a15955
commit
070fec2248
2
xlat.h
2
xlat.h
@ -10,7 +10,7 @@ struct xlat {
|
||||
# define XLAT(val) { (unsigned)(val), #val }
|
||||
# define XLAT_PAIR(val, str) { (unsigned)(val), str }
|
||||
# define XLAT_TYPE(type, val) { (type)(val), #val }
|
||||
# define XLAT_TYPE_PAIR(val, str) { (type)(val), str }
|
||||
# define XLAT_TYPE_PAIR(type, val, str) { (type)(val), str }
|
||||
# define XLAT_END { 0, 0 }
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user