Changeset 210 for trunk/src/sh_hash.c
- Timestamp:
- Jan 29, 2009, 7:54:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r205 r210 1778 1778 sl_write (pushdata_fd, "\n", 1); 1779 1779 } else { 1780 printf ( _("\n#Host "));1780 printf ("%s",_("\n#Host ")); 1781 1781 printf ("%s", sh.host.name); 1782 printf ( _(" Version "));1782 printf ("%s",_(" Version ")); 1783 1783 printf ("%s", sh_db_version_string); 1784 printf ( _(" Date "));1784 printf ("%s",_(" Date ")); 1785 1785 (void) sh_unix_time(0, timestring, sizeof(timestring)); 1786 1786 printf ("%s\n", timestring); … … 3868 3868 { 3869 3869 if (ListWithDelimiter == S_TRUE) 3870 printf( _(" no_attr"));3870 printf("%s",_(" no_attr")); 3871 3871 } 3872 3872 putchar('\n'); … … 3961 3961 res = uncompress(decompressed, &clen, decoded, dlen); 3962 3962 if (res == Z_MEM_ERROR) 3963 { fprintf(stderr, _("Error: Not enough memory\n")); return -1; }3963 { fprintf(stderr, "%s",_("Error: Not enough memory\n")); return -1; } 3964 3964 if (res == Z_DATA_ERROR) 3965 { fprintf(stderr, _("Error: Data corrupt or incomplete\n")); return -1; }3965 { fprintf(stderr, "%s",_("Error: Data corrupt or incomplete\n")); return -1; } 3966 3966 } while (res == Z_BUF_ERROR || clen == clen_o); 3967 3967 … … 3973 3973 (void) linkpath; 3974 3974 #endif 3975 fprintf(stderr, _("Error: No data available\n"));3975 fprintf(stderr, "%s",_("Error: No data available\n")); 3976 3976 return -1; 3977 3977 } … … 3991 3991 if (sl_is_suid()) 3992 3992 { 3993 fprintf(stderr, _("ERROR: insufficient privilege\n"));3993 fprintf(stderr, "%s",_("ERROR: insufficient privilege\n")); 3994 3994 _exit (EXIT_FAILURE); 3995 3995 return -1; /* for Mac OSX compiler */ … … 4047 4047 else 4048 4048 { 4049 fprintf(stderr, _("File is a link\n"));4049 fprintf(stderr, "%s",_("File is a link\n")); 4050 4050 _exit(EXIT_FAILURE); 4051 4051 return -1; … … 4068 4068 if (flag == 0) 4069 4069 { 4070 fprintf(stderr, _("File not found\n"));4070 fprintf(stderr, "%s",_("File not found\n")); 4071 4071 _exit(EXIT_FAILURE); 4072 4072 }
Note:
See TracChangeset
for help on using the changeset viewer.