diff options
Diffstat (limited to 'share/examples/ppi')
-rw-r--r-- | share/examples/ppi/ppilcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/ppi/ppilcd.c b/share/examples/ppi/ppilcd.c index 4247910..f586677 100644 --- a/share/examples/ppi/ppilcd.c +++ b/share/examples/ppi/ppilcd.c @@ -107,7 +107,7 @@ main(int argc, char *argv[]) drivertype = getenv("LCD_TYPE"); - while ((ch = getopt(argc, argv, "Dd:f:o:v")) != EOF) { + while ((ch = getopt(argc, argv, "Dd:f:o:v")) != -1) { switch(ch) { case 'D': debuglevel++; |