diff options
author | Matthew Fredrickson <creslin@digium.com> | 2008-05-23 16:00:59 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2008-05-23 16:00:59 +0000 |
commit | e334fbdd9115801f76f62ae8924a958d534f5fca (patch) | |
tree | 151453cfed61e9ec945b96f375500a0c46bff6b5 | |
parent | 06a471999f5f815553ee9e412f6a6f206fe63651 (diff) |
Replace Zapata references with DAHDI in error messages
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4349 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | dahdi_cfg.c | 10 | ||||
-rw-r--r-- | dahdi_tool.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/dahdi_cfg.c b/dahdi_cfg.c index 34eb74c..d5d6aa4 100644 --- a/dahdi_cfg.c +++ b/dahdi_cfg.c @@ -1140,9 +1140,9 @@ static void printconfig(int fd) strcpy(vi.echo_canceller, "Unknown"); if (ioctl(fd, DAHDI_GETVERSION, &vi)) - error("Unable to read Zaptel version information.\n"); + error("Unable to read DAHDI version information.\n"); - printf("\nZaptel Version: %s\n" + printf("\nDAHDI Version: %s\n" "Echo Canceller: %s\n" "Configuration\n" "======================\n\n", vi.version, vi.echo_canceller); @@ -1373,7 +1373,7 @@ int main(int argc, char *argv[]) if (stopmode) { for (x=0;x<spans;x++) { if (ioctl(fd, DAHDI_SHUTDOWN, &lc[x].span)) { - fprintf(stderr, "Zaptel shutdown failed: %s\n", strerror(errno)); + fprintf(stderr, "DAHDI shutdown failed: %s\n", strerror(errno)); close(fd); exit(1); } @@ -1388,7 +1388,7 @@ int main(int argc, char *argv[]) } for (x=0;x<numdynamic;x++) { if (ioctl(fd, DAHDI_DYNAMIC_CREATE, &zds[x])) { - fprintf(stderr, "Zaptel dynamic span creation failed: %s\n", strerror(errno)); + fprintf(stderr, "DAHDI dynamic span creation failed: %s\n", strerror(errno)); close(fd); exit(1); } @@ -1480,7 +1480,7 @@ int main(int argc, char *argv[]) } for (x=0;x<spans;x++) { if (ioctl(fd, DAHDI_STARTUP, &lc[x].span)) { - fprintf(stderr, "Zaptel startup failed: %s\n", strerror(errno)); + fprintf(stderr, "DAHDI startup failed: %s\n", strerror(errno)); close(fd); exit(1); } diff --git a/dahdi_tool.c b/dahdi_tool.c index e5ef20f..c1fdba2 100644 --- a/dahdi_tool.c +++ b/dahdi_tool.c @@ -516,7 +516,7 @@ static void show_spans(void) label = newtLabel(5,1,"Alarms Span"); - newtCenteredWindow(72,18, "Zapata Telephony Interfaces"); + newtCenteredWindow(72,18, "DAHDI Telephony Interfaces"); form = newtForm(NULL, NULL, 0); newtFormSetTimer(form, 200); @@ -577,7 +577,7 @@ int main(int argc, char *argv[]) newtInit(); newtCls(); - newtDrawRootText(0,0,"Zaptel Tool (C)2002-2008 Digium, Inc."); + newtDrawRootText(0,0,"DAHDI Tool (C)2002-2008 Digium, Inc."); newtPushHelpLine("Welcome to the DAHDI Tool!"); show_spans(); cleanup(); |