On Wed, 25 Aug 2010 00:46:53 +1000 Mark Harvey <markh794@xxxxxxxxx> wrote: > Reworked the patch using scanf/printf - Thanks Nicholas for the > pointer. I knew there had to be a simpler method, it just wasn't > coming to me at the time. > > I've attached patch as an attachment to prevent white-space corruption. > > Also included inline for easier reading / review. > > From 1215fae094812201ea563cbd45c6a90b4ef1f38f Mon Sep 17 00:00:00 2001 > From: Mark Harvey <markh794@xxxxxxxxx> > Date: Sat, 21 Aug 2010 15:22:48 +1000 > Subject: Check bsg major number from /sys/class/bsg/<c:t:l>/dev > > Signed-off-by: Mark Harvey <markh794@xxxxxxxxx> > --- > usr/bs_sg.c | 27 ++++++++++++++++++++++++--- > 1 files changed, 24 insertions(+), 3 deletions(-) > Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html