From: Jason A. Donenfeld Date: Mon, 4 Mar 2013 04:41:53 +0000 (-0500) Subject: ui-snapshot.c: Fill argv[0] with dummy. X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/973deda0eaf4e16c8cc0b25ca1bff1faae17584e?hp=973deda0eaf4e16c8cc0b25ca1bff1faae17584e ui-snapshot.c: Fill argv[0] with dummy. parse_archive_args does not pass PARSE_OPT_KEEP_ARGV0 to parse_args, which means the first argument will be discarded, as though it were a function being called from the command-line. Thus, we fill argv[0] with a dummy argument to prevent this from happening. Signed-off-by: Jason A. Donenfeld ---