opnsense-ports/sysutils/gstopd/files/patch-gstopd.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

9 lines
297 B
C

--- gstopd.c.orig 2013-10-10 12:51:01.431793192 +0000
+++ gstopd.c 2013-10-10 12:58:54.538750707 +0000
@@ -116,5 +116,5 @@
errx( 1, "Error %d accessing %s", errno, path );
}
- snprintf( devs[i].name, 6, argv[i] );
+ snprintf( devs[i].name, 6, "%s", argv[i] );
devs[i].lastt = 1;
}