New version
[infodrom/dtaus] / main.c
diff --git a/main.c b/main.c
index 4023f4a..c12f711 100644 (file)
--- a/main.c
+++ b/main.c
@@ -19,7 +19,7 @@
     $Id$
  */
 
-static char version[] = "0.6";
+static char version[] = "0.7";
 
 #include <stdio.h>
 #include <sys/stat.h>
@@ -112,14 +112,14 @@ int main (int argc, char **argv)
       exit (1);
     }
   } else if (action == CONTROL) {
-    if (!strcmp("-",dtaus) || !stat(dtaus, &sbuf))
+    if (!strcmp("-", dtaus) || !stat(dtaus, &sbuf))
       dtaus2control (dtaus, control);
     else {
       fprintf( stderr, "Can't stat %s\n", dtaus);
       exit (1);
     }
   } else {
-    printf ("Keine Routine angegeben (-dtaus bzw. -control vergessen).\n");
+    fprintf (stderr, "Keine Routine angegeben (-dtaus bzw. -control vergessen).\n");
     exit (1);
   }
   exit (0);