missing arg to an fprintf
authorJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Thu, 2 Aug 1984 15:30:38 +0000 (07:30 -0800)
committerJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Thu, 2 Aug 1984 15:30:38 +0000 (07:30 -0800)
SCCS-vsn: sbin/ifconfig/ifconfig.c 4.8

usr/src/sbin/ifconfig/ifconfig.c

index a94209c..6c16c6c 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)ifconfig.c 4.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)ifconfig.c 4.8 (Berkeley) %G%";
 #endif
 
 #include <sys/types.h>
 #endif
 
 #include <sys/types.h>
@@ -153,7 +153,7 @@ Perror(cmd)
                break;
 
        case EPERM:
                break;
 
        case EPERM:
-               fprintf(stderr, "%s: permission denied\n");
+               fprintf(stderr, "%s: permission denied\n", cmd);
                break;
 
        default:
                break;
 
        default: