at master 53 lines 1.6 kB view raw
1--- pilot-link/src/pilot-dlpsh.c 2+++ pilot-link/src/pilot-dlpsh.c 3@@ -389,7 +389,7 @@ 4 5 strftime(timebuf, 80, "Now setting Palm time from desktop to: " 6 "%a %b %d %H:%M:%S %Z %Y\n", tm_ptr); 7- printf(timebuf); 8+ printf("%s", timebuf); 9 gettimeofday(&tv, 0); 10 ltime = tv.tv_sec + 1; 11 usleep(1000000 - tv.tv_usec); 12--- pilot-link/src/pilot-hinotes.c 13+++ pilot-link/src/pilot-hinotes.c 14@@ -79,9 +79,7 @@ 15 printf("...\n"); 16 else 17 printf("\n"); 18- printf("\n"); 19- printf(m.text); 20- printf("\n"); 21+ printf("\n%s\n", m.text); 22 } 23 24 void write_memo_in_directory(char *dirname, struct HiNoteNote m, 25--- pilot-link/src/pilot-xfer.c 26+++ pilot-link/src/pilot-xfer.c 27@@ -2477,8 +2477,7 @@ 28 { 29 fprintf(stderr, " ERROR: '%s' is not a directory or does not exist.\n" 30 " Please supply a directory name when performing a " 31- "backup or restore and try again.\n\n", dirname); 32- fprintf(stderr,gracias); 33+ "backup or restore and try again.\n\n%s", dirname, gracias); 34 return 1; 35 } 36 } 37@@ -2487,14 +2486,12 @@ 38 case palm_op_list: 39 if (rargc > 0) 40 { 41- fprintf(stderr," ERROR: Do not pass additional arguments to -busrlLC.\n"); 42- fprintf(stderr,gracias); 43+ fprintf(stderr," ERROR: Do not pass additional arguments to -busrlLC.\n%s", gracias); 44 return 1; 45 } 46 break; 47 case palm_op_noop: 48- fprintf(stderr," ERROR: Must specify one of -bursimfdlC.\n"); 49- fprintf(stderr,gracias); 50+ fprintf(stderr," ERROR: Must specify one of -bursimfdlC.\n%s", gracias); 51 return 1; 52 break; 53 case palm_op_merge: