aboutsummaryrefslogtreecommitdiff
path: root/src/spm.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-10 01:43:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-10 01:43:14 -0400
commitdeb7497a5dc0ff7318b2ba9ac747ef8946d2595a (patch)
tree58cb900f68f71c307d869ed831fe85bd254379c9 /src/spm.c
parentaa7fdba0b7e85236081e21a40f019febb918ae7e (diff)
downloadspmc-deb7497a5dc0ff7318b2ba9ac747ef8946d2595a.tar.gz
Just duplicate argv[0]
Diffstat (limited to 'src/spm.c')
-rw-r--r--src/spm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spm.c b/src/spm.c
index f398f0e..909cca9 100644
--- a/src/spm.c
+++ b/src/spm.c
@@ -29,7 +29,7 @@ void usage(const char *program_name) {
}
int main(int argc, char *argv[], char *arge[]) {
- char *program_name = strdup(basename(argv[0]));
+ char *program_name = strdup(argv[0]);
// not much to see here yet
// at the moment this will all be random tests, for better or worse