commit | 175f2ea2e97a0137ba38552672e150b062461138 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Apr 27 15:26:44 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Apr 27 17:30:45 2011 +0400 |
tree | fd110e991cfecd138b1c7b4a554de3f2cd1db650 | |
parent | 2a263132488f8d8ae90f5851b56d2025123fc2ff [diff] |
ndsend: cosmetic fixes 1. Add usage() 2. Check for number of args (fix SEGFAULT when called with less than two args) 3. Fix some error messages for clarity Fixes part of bug #1850 (segfault and usage) http://bugzilla.openvz.org/1850 http://bugs.debian.org/622682 Signed-off-by: Kir Kolyshkin <kir@openvz.org>