Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/tetris.c

    r8d2dd7f2 r0b2d369  
    5656
    5757#include <sys/time.h>
    58 #include <err.h>
    5958#include <errno.h>
    6059#include <stdio.h>
     
    289288        for (i = 0; i <= 5; i++) {
    290289                for (j = i + 1; j <= 5; j++) {
    291                         if (keys[i] == keys[j])
    292                                 errx(1, "%s", "duplicate command keys specified.");
     290                        if (keys[i] == keys[j]) {
     291                                fprintf(stderr, "duplicate command keys specified.");
     292                                abort();
     293                        }
    293294                }
    294295               
     
    442443void usage(void)
    443444{
     445        fprintf(stderr, "%s", copyright);
    444446        fprintf(stderr, "usage: tetris [-ps] [-k keys]\n");
    445447        exit(1);
Note: See TracChangeset for help on using the changeset viewer.