projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ae2a42
)
"can not" -> "cannot".
author
Francois Fleuret
<francois@fleuret.org>
Thu, 31 Jan 2013 08:36:33 +0000
(09:36 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 31 Jan 2013 08:36:33 +0000
(09:36 +0100)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
26d97ae
..
ad72cc2
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-79,7
+79,7
@@
void *safe_malloc(size_t n) {
void *p = malloc(n);
if(!p && n != 0) {
fprintf(stderr,
void *p = malloc(n);
if(!p && n != 0) {
fprintf(stderr,
- "selector: can
not allocate memory: %s\n", strerror(errno));
+ "selector: cannot allocate memory: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
return p;
exit(EXIT_FAILURE);
}
return p;
@@
-930,7
+930,7
@@
void read_file(struct hash_table_t *hash_table,
file = fopen(input_filename, "r");
if(!file) {
file = fopen(input_filename, "r");
if(!file) {
- fprintf(stderr, "selector: Can
not open `%s'.\n", input_filename);
+ fprintf(stderr, "selector: Cannot open `%s'.\n", input_filename);
exit(EXIT_FAILURE);
}
exit(EXIT_FAILURE);
}
@@
-1419,7
+1419,7
@@
int main(int argc, char **argv) {
fprintf(out, "\n");
} else {
fprintf(stderr,
fprintf(out, "\n");
} else {
fprintf(stderr,
- "selector: Can
not open %s for writing.\n",
+ "selector: Cannot open %s for writing.\n",
output_filename);
exit(EXIT_FAILURE);
}
output_filename);
exit(EXIT_FAILURE);
}