sim: common: trim trailing whitespace

This commit is contained in:
Mike Frysinger
2011-03-15 03:16:17 +00:00
parent 7f35e99197
commit 028f651542
42 changed files with 300 additions and 292 deletions

View File

@ -93,7 +93,7 @@ get_string (cb, sc, buf, buflen, addr)
path name along with the syscall request, and cache the file
name somewhere (or otherwise tweak this as desired). */
unsigned int count = (*sc->read_mem) (cb, sc, addr, p, 1);
if (count != 1)
return EINVAL;
if (*p == 0)