Projects STRLCPY criu Commits a70b1c79
🤬
  • restorer: check that close() returns an expected thread pid

    It is a typo fix which was added on rebase.
    
    Signed-off-by: Andrei Vagin <[email protected]>
  • Loading...
  • Andrei Vagin committed 6 years ago
    a70b1c79
    1 parent cad611b3
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    criu/pie/restorer.c
    skipped 1553 lines
    1554 1554   */
    1555 1555   
    1556 1556   RUN_CLONE_RESTORE_FN(ret, clone_flags, new_sp, parent_tid, thread_args, args->clone_restore_fn);
    1557  - if (ret != thread_args[i].pid - 1) {
    1558  - pr_err("Unable to create a thread: %ld", ret);
     1557 + if (ret != thread_args[i].pid) {
     1558 + pr_err("Unable to create a thread: %ld\n", ret);
    1559 1559   goto core_restore_end;
    1560 1560   }
    1561 1561   }
    skipped 147 lines
Please wait...
Page is in error, reload to recover