Small SDCard library

I am using Pin (2) as my chip select pin and change the first line in the demo code to:

const uint8_t CHIP_SELECT = 2;

I also added pinMode to 10.

pinMode(10, OUTPUT);
digitalWrite(10, HIGH);

if (!card.init(0, 2)) {
PgmPrintln("card.begin failed");
sdError();
return;
}

I keep getting the following error:

Fat16 version: 20140806
FreeRam: 1270

type any character to start
card.begin failed
SD error
errorCode: 2
errorData: 1

type any character to start

Any help would be appreciated?