Fix problem with --section matching
authorJens Axboe <jens.axboe@oracle.com>
Sat, 22 May 2010 18:43:11 +0000 (20:43 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 22 May 2010 18:43:11 +0000 (20:43 +0200)
commit7a4b80a14c6ac6d47d486b1f5d1f166fa7065ee3
tree402d66fc8fd40b29e5e81484d4f098755391d866
parentc50bdd8f4299e1faa8facf13229bf33400fc78d7
Fix problem with --section matching

Strip the ']' at the end before doing section matching, otherwise
the strcmp() fails.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c