Change sprintf() + xstrcat() to xstrfmtcat().
Drop the debugging message here. The calling path above us prints out the entire gres_alloc string, and I don't think it's necessary to continue to break out the individual elements like this. Rework the prefix (now sep) handling as well slightly.
Please register or sign in to comment