fix: /proc/<PID>/maps outputs a unnecessary NULL character
This commit is contained in:
@@ -418,7 +418,7 @@ void process_procfs_request(struct ikc_scd_packet *rpacket)
|
|||||||
}
|
}
|
||||||
kfree(tmp);
|
kfree(tmp);
|
||||||
#else /* POSTK_DEBUG_TEMP_FIX_47 */
|
#else /* POSTK_DEBUG_TEMP_FIX_47 */
|
||||||
ans = written + 1;
|
ans = written;
|
||||||
eof = 1;
|
eof = 1;
|
||||||
#endif /* POSTK_DEBUG_TEMP_FIX_47 */
|
#endif /* POSTK_DEBUG_TEMP_FIX_47 */
|
||||||
goto end;
|
goto end;
|
||||||
|
|||||||
Reference in New Issue
Block a user