ipcs: fix typo

Reported-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-02-21 19:06:54 +01:00
parent d5e582d969
commit 8a8835bc65
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ main (int argc, char **argv) {
print_sem (id);
if (msg)
print_msg (id);
if (!msg && !sem && !msg )
if (!shm && !sem && !msg )
usage (EXIT_FAILURE);
} else {
if ( !shm && !msg && !sem)