summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/aec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aec.c b/src/aec.c
index f438b95..86e6a5b 100644
--- a/src/aec.c
+++ b/src/aec.c
@@ -180,16 +180,16 @@ int main(int argc, char *argv[])
if (dflag)
{
- if ((ext = strstr(infn, ".aec")) == NULL)
+ if ((ext = strstr(infn, ".rz")) == NULL)
{
- fprintf(stderr, "Error: input file needs to end with .aec\n");
+ fprintf(stderr, "Error: input file needs to end with .rz\n");
exit(-1);
}
strncpy(outfn, infn, ext - infn);
}
else
{
- sprintf(outfn, "%s.aec", infn);
+ sprintf(outfn, "%s.rz", infn);
}
if ((outfp = fopen(outfn, "w")) == NULL)