chroot.c (7bc6d0158f0e9863a2a13a951321185d214cd3be) | chroot.c (408d219e0abe383e09542eff21416e13ab158b34) |
---|---|
1/* 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 48 unchanged lines hidden (view full) --- 57static void usage __P((void)); 58 59int 60main(argc, argv) 61 int argc; 62 char *argv[]; 63{ 64 int ch; | 1/* 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 48 unchanged lines hidden (view full) --- 57static void usage __P((void)); 58 59int 60main(argc, argv) 61 int argc; 62 char *argv[]; 63{ 64 int ch; |
65 char *shell; | 65 const char *shell; |
66 67 while ((ch = getopt(argc, argv, "")) != -1) 68 switch(ch) { 69 case '?': 70 default: 71 usage(); 72 } 73 argc -= optind; --- 26 unchanged lines hidden --- | 66 67 while ((ch = getopt(argc, argv, "")) != -1) 68 switch(ch) { 69 case '?': 70 default: 71 usage(); 72 } 73 argc -= optind; --- 26 unchanged lines hidden --- |