diff options
| -rw-r--r-- | lib/libotputil/lmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libotputil/lmisc.c b/lib/libotputil/lmisc.c index 6f5221d..6d31ea5 100644 --- a/lib/libotputil/lmisc.c +++ b/lib/libotputil/lmisc.c | |||
| @@ -136,7 +136,7 @@ otputil_md2str( | |||
| 136 | int md ) | 136 | int md ) |
| 137 | { | 137 | { |
| 138 | int x; | 138 | int x; |
| 139 | for(x = 0; ((otputil_md_list[x].map_id)); x++) | 139 | for(x = 0; ((otputil_md_list[x].map_name)); x++) |
| 140 | if (md == otputil_md_list[x].map_id) | 140 | if (md == otputil_md_list[x].map_id) |
| 141 | return(otputil_md_list[x].map_name); | 141 | return(otputil_md_list[x].map_name); |
| 142 | return(NULL); | 142 | return(NULL); |
