fix: /proc/<PID>/maps outputs a unnecessary NULL character

This commit is contained in:
Ken Sato
2018-05-30 16:38:28 +09:00
parent 81699345cc
commit 511555c8cb

View File

@ -418,7 +418,7 @@ void process_procfs_request(struct ikc_scd_packet *rpacket)
}
kfree(tmp);
#else /* POSTK_DEBUG_TEMP_FIX_47 */
ans = written + 1;
ans = written;
eof = 1;
#endif /* POSTK_DEBUG_TEMP_FIX_47 */
goto end;