Skip to content

Commit

Permalink
lib/shmem: print desired shmem size when allocation failed
Browse files Browse the repository at this point in the history
  • Loading branch information
bema-aei committed May 26, 2014
1 parent f4f2600 commit 658170a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/shmem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ int create_shmem(key_t key, int size, gid_t gid, void** pp) {
}
if (id < 0) {
perror("shmget");
fprintf(stderr,"shmem size: %d\n", size);
return ERR_SHMGET;
}

Expand Down

0 comments on commit 658170a

Please sign in to comment.