aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-11 07:13:02 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-11 09:23:45 +0000
commitc7d7d81522b8ac26f9ff6b86d616d4d2e2249709 (patch)
treea85739f2cc5de57f2dcfbd118bdd30952b3d0d31 /executor/common_linux.h
parent06767e57b3f22e258850d1b73af23727248aefc9 (diff)
docs: remove mentions of strconst
strconst["foo"] was replaced by ptr[in, string["foo"]].
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index f7f64a5c6..615879699 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -2400,7 +2400,7 @@ static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2)
sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8)a1, (uint8)a2);
return open(buf, O_RDWR, 0);
} else {
- // syz_open_dev(dev strconst, id intptr, flags flags[open_flags]) fd
+ // syz_open_dev(dev ptr[in, string["/dev/foo"]], id intptr, flags flags[open_flags]) fd
char buf[1024];
char* hash;
strncpy(buf, (char*)a0, sizeof(buf) - 1);