diff options
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 95f782c..8fdd83d 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -135,16 +135,16 @@ main(int argc, char *argv[]) fileflag = 1; break; case 'g': - putenv("BLOCKSIZE=1G"); + putenv(strdup("BLOCKSIZE=1G")); break; case 'h': humanflag = 1; break; case 'k': - putenv("BLOCKSIZE=1K"); + putenv(strdup("BLOCKSIZE=1K")); break; case 'm': - putenv("BLOCKSIZE=1M"); + putenv(strdup("BLOCKSIZE=1M")); break; case 'M': memf = optarg; |