summaryrefslogtreecommitdiff
path: root/sysutils/runwhen/files/patch-src_rw__scan.c
blob: 77c2342d960bccbea5ab7af9a06c000a48d6b168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/rw_scan.c.orig	2020-04-22 21:45:48 UTC
+++ src/rw_scan.c
@@ -14,7 +14,7 @@ void rw_scan(tain_t* stamp, char const* text) {
   char const* x;
   switch (text[0]) {
     case '$':
-      x=env_get(text+1);
+      x=getenv(text+1);
       if (x==NULLP) DIE_MALFORMED("timestamp", text);
       text=x;
       i=tain_scan(text, stamp);