fix typos - sdhcp - simple dhcp client
 (HTM) git clone git://git.codemadness.org/sdhcp
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit fee8efc7684cde41fcbc2ca2d903c30a008c22cd
 (DIR) parent d810f71b91a99088de330bf3d16459a8a5c7c859
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri, 25 Apr 2014 19:24:05 +0200
       
       fix typos
       
       Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
       
       Diffstat:
         M sdhcp.8                             |       2 +-
         M sdhcp.c                             |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/sdhcp.8 b/sdhcp.8
       @@ -5,7 +5,7 @@ sdhcp \- a simple dhcp client
        .B sdhcp
        .RB [interface]
        .SH DESCRIPTION
       -sdchp is a simple, tiny dhcp client. It runs until it enters the "Bound"
       +sdhcp is a simple, tiny dhcp client. It runs until it enters the "Bound"
        state, then forks to the background and runs as a daemon to keep
        the lease alive.
        .SH BUGS
 (DIR) diff --git a/sdhcp.c b/sdhcp.c
       @@ -397,13 +397,13 @@ static void nop(int unused){ }
        static void cleanexit(int unused){ 
                dhcpsend(DHCPrelease, Unicast);
                exit(0);
       +        fputs("usage: sdhcp [interface]\n", stderr);
        }
        
        int
        main(int argc, char *argv[])
        {
                if(argc>2){
       -                write(2, "usage: sdhcp [inferface]\n",25);
                        exit(EXIT_FAILURE);
                }if(argc==2)
                        ifname = argv[1];