summaryrefslogtreecommitdiff
path: root/22.c
diff options
context:
space:
mode:
Diffstat (limited to '22.c')
-rw-r--r--22.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/22.c b/22.c
index db4ee87..180969f 100644
--- a/22.c
+++ b/22.c
@@ -230,13 +230,12 @@ main(int argc, char ** argv)
struct map map;
enum map_type mtype = M_FLAT;
long bufsiz = 0, buflen = 0;
- long pos;
struct elf elf;
char distance[8];
int c, dlen = 0;
- while ((pos = getopt(argc, argv, "p:m:")) != -1) {
- switch (pos) {
+ while ((c = getopt(argc, argv, "p:m:")) != -1) {
+ switch (c) {
case 'p':
switch (atoi(optarg)) {
case 1: