mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Fix build with clang
This commit is contained in:
parent
2b5eb99017
commit
b7b689cd82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329988
9
sysutils/gstopd/files/patch-gstopd.c
Normal file
9
sysutils/gstopd/files/patch-gstopd.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user