Sorry for the typo... Here is the code that compiles and addresses my question
#include <VirtualWire.h>
void setup()
{
Serial.begin(9600);
Serial.write("Setup");
vw_set_ptt_inverted(true);
vw_setup(2000); // Bits per sec
vw_rx_start();
}
void loop()
{
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
if (vw_get_message(buf, &buflen)) // Non-blocking
{
int i;
Serial.write("Got: ");
for (i = 0; i < buflen; i++)
{
Serial.write(buf[i]);
Serial.write(" ");
}
}
}