Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b60c582 in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2009-04-03T08:02:30Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
2398ee9
Parents:
9be1d58
Message:

update for string changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r9be1d58 rb60c582  
    317317       
    318318        memcpy(t->name, name, THREAD_NAME_BUFLEN);
    319         t->name[THREAD_NAME_BUFLEN - 1] = '\0';
     319        t->name[THREAD_NAME_BUFLEN - 1] = 0;
    320320       
    321321        t->thread_code = func;
     
    724724                return (unative_t) rc;
    725725
    726         namebuf[name_len] = '\0';
     726        namebuf[name_len] = 0;
    727727
    728728        /*
Note: See TracChangeset for help on using the changeset viewer.