--- irda-utils-0.9.16/irdadump/shell/main.c.root 2004-03-31 23:55:43.000000000 +0200 +++ irda-utils-0.9.16/irdadump/shell/main.c 2004-06-02 15:09:42.251631144 +0200 @@ -86,6 +86,11 @@ #endif int fd, c; + if(geteuid()) { + puts("You need to be root to run this utility.\n"); + return 1; + } + while ((c = getopt(argc, argv, "bc:df:i:lps:tvx?")) != -1) { switch (c) { case 'b': /* Dumb bytes */