Added basic logging

This commit is contained in:
Andrew Brooks 2018-01-25 20:52:50 -06:00
parent 60c92d40ae
commit 653064f0fc

View File

@ -1,6 +1,5 @@
#include <argp.h>
#include <linux/input.h>
//#include <linux/input-event-codes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -53,6 +52,7 @@ main(int argc, char **argv)
{
fprintf(stderr, "Sending barcode failed!\n");
}
printf("Published barcode %s!\n", barcode);
free(barcode);
}
}