From d3cd764826a65e2a192f9b2c6d70f2b17bf9bb39 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Thu, 15 Nov 2018 10:35:22 +0100 Subject: [PATCH] a3: test --- src/c/a3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/a3.c b/src/c/a3.c index c7db7f9..bec5ab4 100644 --- a/src/c/a3.c +++ b/src/c/a3.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) { return -1; } - memdump((unsigned char *) argv[1]); + memdump((unsigned char *) argv[0]); printf("\tLaenge der Zeichenkette (inkl \\0): %i Byte(s)\n", (int) strlen(argv[1])); printf("\tErsetzen: '%c' mit '%c'\n", *argv[2], *argv[3]);