88
88
 
herr_t
89
89
 
H5S_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE *stream, int indent,
90
90
 
    int fwidth)
91
91
 
{
92
92
 
    const H5S_t *mesg = (const H5S_t*)_mesg;
93
93
 
94
94
 
    FUNC_ENTER_NOAPI_NOINIT_NOERR
95
95
 
96
96
 
    switch(H5S_GET_EXTENT_TYPE(mesg)) {
97
97
 
        case H5S_NULL:
98
 
-
            fprintf(stream, "%*s%-*s H5S_NULL\n", indent, "", fwidth,
 
98
+
            HDfprintf(stream, "%*s%-*s H5S_NULL\n", indent, "", fwidth,
99
99
 
                    "Space class:");
100
100
 
            break;
101
101
 
102
102
 
        case H5S_SCALAR:
103
 
-
            fprintf(stream, "%*s%-*s H5S_SCALAR\n", indent, "", fwidth,
 
103
+
            HDfprintf(stream, "%*s%-*s H5S_SCALAR\n", indent, "", fwidth,
104
104
 
                    "Space class:");
105
105
 
            break;
106
106
 
107
107
 
        case H5S_SIMPLE:
108
 
-
            fprintf(stream, "%*s%-*s H5S_SIMPLE\n", indent, "", fwidth,
 
108
+
            HDfprintf(stream, "%*s%-*s H5S_SIMPLE\n", indent, "", fwidth,
109
109
 
                    "Space class:");
110
110
 
            H5O_debug_id(H5O_SDSPACE_ID, f, dxpl_id, &(mesg->extent), stream,
111
111
 
                                 indent + 3, MAX(0, fwidth - 3));
112
112
 
            break;
113
113
 
114
114
 
        case H5S_NO_CLASS:
115
115
 
        default:
116
 
-
            fprintf(stream, "%*s%-*s **UNKNOWN-%ld**\n", indent, "", fwidth,
 
116
+
            HDfprintf(stream, "%*s%-*s **UNKNOWN-%ld**\n", indent, "", fwidth,
117
117
 
                    "Space class:", (long)(H5S_GET_EXTENT_TYPE(mesg)));
118
118
 
            break;
119
119
 
    } /* end switch */
120
120
 
121
121
 
    FUNC_LEAVE_NOAPI(SUCCEED)
122
122
 
} /* end H5S_debug() */
123
123